From d9dc106dc3c9c9ff6a73fa4c75fd290cac62c3ed Mon Sep 17 00:00:00 2001 From: ChilePiquin Date: Tue, 15 Sep 2026 10:32:16 -0600 Subject: [PATCH] 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 --- python/src/runtime.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/src/runtime.rs b/python/src/runtime.rs index 6b316ae73..bcc416444 100644 --- a/python/src/runtime.rs +++ b/python/src/runtime.rs @@ -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