From 50b08d5b5fd3e280b99b97a42d07089a64bf12c6 Mon Sep 17 00:00:00 2001 From: Fantix King Date: Sat, 10 Dec 2022 05:04:22 -0500 Subject: Fix potential flakiness in `test_run_until_complete_baseexception` (#100148) --- Lib/test/test_asyncio/test_base_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index 532a7e5..3b4026c 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -868,7 +868,7 @@ class BaseEventLoopTests(test_utils.TestCase): self.loop.stop() func.called = True func.called = False - self.loop.call_later(0.01, func) + self.loop.call_soon(self.loop.call_soon, func) self.loop.run_forever() self.assertTrue(func.called) -- cgit v0.12