From accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 16 Jul 2014 18:54:13 +0200 Subject: [PATCH] asyncio: test_as_completed(): disable "slow callback" warning --- Lib/test/test_asyncio/test_tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index e199c5a48f0..7b93a0e2109 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -851,6 +851,8 @@ class TaskTests(test_utils.TestCase): yield 0 loop = self.new_test_loop(gen) + # disable "slow callback" warning + loop.slow_callback_duration = 1.0 completed = set() time_shifted = False