From 655f9489a8edc769e8ce7816cd3ce5fa7f0d7bba Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 6 Jul 2025 10:02:58 -0500 Subject: [PATCH] preen --- tests/integration/test_scheduler_string_name_stress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_scheduler_string_name_stress.py b/tests/integration/test_scheduler_string_name_stress.py index a51a915300..0e378a7b54 100644 --- a/tests/integration/test_scheduler_string_name_stress.py +++ b/tests/integration/test_scheduler_string_name_stress.py @@ -29,7 +29,7 @@ async def test_scheduler_string_name_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 callbacks and any crashes