From 6f64312d08740b71a3a521b8a5646ba831c521eb Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 6 Jul 2025 10:06:45 -0500 Subject: [PATCH] remove debugging --- tests/integration/test_scheduler_simultaneous_callbacks.py | 2 -- tests/integration/test_scheduler_string_lifetime.py | 2 -- tests/integration/test_scheduler_string_name_stress.py | 5 ----- 3 files changed, 9 deletions(-) diff --git a/tests/integration/test_scheduler_simultaneous_callbacks.py b/tests/integration/test_scheduler_simultaneous_callbacks.py index 357e0aa397..f5120ce4ce 100644 --- a/tests/integration/test_scheduler_simultaneous_callbacks.py +++ b/tests/integration/test_scheduler_simultaneous_callbacks.py @@ -105,8 +105,6 @@ async def test_scheduler_simultaneous_callbacks( await asyncio.wait_for(test_complete_future, timeout=30.0) except asyncio.TimeoutError: pytest.fail(f"Simultaneous callbacks test timed out. Stats: {test_stats}") - except Exception as e: - pytest.fail(f"Test failed: {e}\nStats: {test_stats}") # Check for any errors assert len(test_stats["errors"]) == 0, ( diff --git a/tests/integration/test_scheduler_string_lifetime.py b/tests/integration/test_scheduler_string_lifetime.py index e985e107ec..78f4e2486c 100644 --- a/tests/integration/test_scheduler_string_lifetime.py +++ b/tests/integration/test_scheduler_string_lifetime.py @@ -112,8 +112,6 @@ async def test_scheduler_string_lifetime( await asyncio.wait_for(test_complete_future, timeout=30.0) except asyncio.TimeoutError: pytest.fail(f"String lifetime test timed out. Stats: {test_stats}") - except Exception as e: - pytest.fail(f"Test failed: {e}\nStats: {test_stats}") # Check for use-after-free assert not test_stats["use_after_free_detected"], "Use-after-free detected!" diff --git a/tests/integration/test_scheduler_string_name_stress.py b/tests/integration/test_scheduler_string_name_stress.py index c561864919..3045842223 100644 --- a/tests/integration/test_scheduler_string_name_stress.py +++ b/tests/integration/test_scheduler_string_name_stress.py @@ -102,11 +102,6 @@ async def test_scheduler_string_name_stress( f"String name stress test timed out. Executed {len(executed_callbacks)} callbacks. " f"This might indicate a deadlock." ) - except Exception as e: - # A crash was detected - pytest.fail( - f"Test failed due to crash: {e}\nError messages: {error_messages}" - ) # Verify no errors occurred (crashes already handled by exception) assert not error_messages, f"Errors detected during test: {error_messages}"