diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index 532a7e5385a..3b4026cb738 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)