mirror of https://github.com/python/cpython
Fix potential flakiness in `test_run_until_complete_baseexception` (#100148)
This commit is contained in:
parent
228c92eb5c
commit
50b08d5b5f
|
@ -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…
Reference in New Issue