diff --git a/tests/test_executors.py b/tests/test_executors.py index e08cac6..1d0b3cb 100644 --- a/tests/test_executors.py +++ b/tests/test_executors.py @@ -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())