Skip to content

Commit

Permalink
Fix potential flakiness in test_run_until_complete_baseexception (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix authored Dec 10, 2022
1 parent 228c92e commit 50b08d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_asyncio/test_base_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ def func():
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)

Expand Down

0 comments on commit 50b08d5

Please sign in to comment.