mirror of https://github.com/MagicStack/uvloop.git
tests: Add an extra await to the process executor test
This commit is contained in:
parent
ad5181b36a
commit
53203bf3e1
|
@ -21,6 +21,7 @@ class _TestExecutors:
|
|||
coros.append(self.loop.run_in_executor(pool, fib, i))
|
||||
res = await asyncio.gather(*coros, loop=self.loop)
|
||||
self.assertEqual(res, fib10)
|
||||
await asyncio.sleep(0.01)
|
||||
|
||||
fib10 = [fib(i) for i in range(10)]
|
||||
self.loop.run_until_complete(run())
|
||||
|
|
Loading…
Reference in New Issue