From: Victor Stinner Date: Wed, 16 Jul 2014 16:54:13 +0000 (+0200) Subject: asyncio: test_as_completed(): disable "slow callback" warning X-Git-Tag: v3.4.2rc1~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28;p=python asyncio: test_as_completed(): disable "slow callback" warning --- diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index e199c5a48f..7b93a0e210 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