diff options
author | Fantix King <fantix.king@gmail.com> | 2022-12-10 10:04:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 10:04:22 (GMT) |
commit | 50b08d5b5fd3e280b99b97a42d07089a64bf12c6 (patch) | |
tree | 65f05075cb30394e0d6c49e0fba058fbbb079817 /Lib | |
parent | 228c92eb5c126130316a32b44a0ce8f28cc5d544 (diff) | |
download | cpython-50b08d5b5fd3e280b99b97a42d07089a64bf12c6.zip cpython-50b08d5b5fd3e280b99b97a42d07089a64bf12c6.tar.gz cpython-50b08d5b5fd3e280b99b97a42d07089a64bf12c6.tar.bz2 |
Fix potential flakiness in `test_run_until_complete_baseexception` (#100148)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_asyncio/test_base_events.py | 2 |
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 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) |