fix(python): apply cargo fmt to test-lock helper

Pure formatting fix, no behavior change -- CI's cargo fmt --check
rejected the line length in lock_runtime_state_for_test().

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
ChilePiquin
2026-09-15 10:32:16 -06:00
co-authored by Claude Sonnet 5
parent b45e6c71d3
commit d9dc106dc3
+3 -1
View File
@@ -363,7 +363,9 @@ mod tests {
static TEST_LOCK: std::sync::Mutex<()> = std::sync::Mutex::new(());
fn lock_runtime_state_for_test() -> std::sync::MutexGuard<'static, ()> {
TEST_LOCK.lock().unwrap_or_else(|poisoned| poisoned.into_inner())
TEST_LOCK
.lock()
.unwrap_or_else(|poisoned| poisoned.into_inner())
}
// A task's own completion must never be the final drop of the shared