Skip to content

Commit 53203bf

Browse files
committed
tests: Add an extra await to the process executor test
1 parent ad5181b commit 53203bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_executors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ async def run():
2121
coros.append(self.loop.run_in_executor(pool, fib, i))
2222
res = await asyncio.gather(*coros, loop=self.loop)
2323
self.assertEqual(res, fib10)
24+
await asyncio.sleep(0.01)
2425

2526
fib10 = [fib(i) for i in range(10)]
2627
self.loop.run_until_complete(run())

0 commit comments

Comments
 (0)