From 53203bf3e13ae41a56af6a429313b3be33ab3eb9 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Wed, 27 Jul 2016 14:01:41 -0400 Subject: [PATCH] tests: Add an extra await to the process executor test --- tests/test_executors.py | 1 + 1 file changed, 1 insertion(+) 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())