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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28;p=thirdparty%2FPython%2Fcpython.git 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 e199c5a48f0e..7b93a0e21091 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