This commit is contained in:
J. Nick Koston 2025-07-06 10:03:24 -05:00
parent 655f9489a8
commit f4260d370c
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ async def test_scheduler_heap_stress(
)
# Create a future to signal test completion
loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
test_complete_future: asyncio.Future[None] = loop.create_future()
# Track executed timeouts/intervals and their order

View File

@ -29,7 +29,7 @@ async def test_scheduler_rapid_cancellation(
)
# Create a future to signal test completion
loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
test_complete_future: asyncio.Future[None] = loop.create_future()
# Track test progress

View File

@ -28,7 +28,7 @@ async def test_scheduler_recursive_timeout(
)
# Create a future to signal test completion
loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
test_complete_future: asyncio.Future[None] = loop.create_future()
# Track execution sequence

View File

@ -29,7 +29,7 @@ async def test_scheduler_simultaneous_callbacks(
)
# Create a future to signal test completion
loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
test_complete_future: asyncio.Future[None] = loop.create_future()
# Track test progress