Skip to content

Commit 36d66d9

Browse files
fix test
1 parent 8aed0b8 commit 36d66d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_asyncio/test_tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,8 +2275,7 @@ async def kill_me(loop):
22752275
asyncio._set_event_loop(None)
22762276

22772277
# execute the task so it waits for future
2278-
loop.run_until_complete(asyncio.sleep(0))
2279-
self.assertEqual(len(loop._ready), 0)
2278+
loop.run_until_complete(asyncio.sleep(0.1))
22802279

22812280
coro = None
22822281
source_traceback = task._source_traceback

0 commit comments

Comments
 (0)