aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test
diff options
context:
space:
mode:
authorFantix King <fantix.king@gmail.com>2022-12-10 05:04:22 -0500
committerGitHub <noreply@github.com>2022-12-10 15:34:22 +0530
commit50b08d5b5fd3e280b99b97a42d07089a64bf12c6 (patch)
tree65f05075cb30394e0d6c49e0fba058fbbb079817 /Lib/test
parent228c92eb5c126130316a32b44a0ce8f28cc5d544 (diff)
downloadcpython-50b08d5b5fd3e280b99b97a42d07089a64bf12c6.tar.gz
cpython-50b08d5b5fd3e280b99b97a42d07089a64bf12c6.zip
Fix potential flakiness in `test_run_until_complete_baseexception` (#100148)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py2
1 files changed, 1 insertions, 1 deletions
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)