remove debugging

This commit is contained in:
J. Nick Koston 2025-07-06 10:06:45 -05:00
parent 79dfb86830
commit 6f64312d08
No known key found for this signature in database
3 changed files with 0 additions and 9 deletions

View File

@ -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, (

View File

@ -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!"

View File

@ -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}"