mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Fix potential flakiness in test_run_until_complete_baseexception
(#100148)
This commit is contained in:
parent
228c92eb5c
commit
50b08d5b5f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue