diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-16 16:54:13 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-16 16:54:13 (GMT) |
commit | accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28 (patch) | |
tree | bedda8b31fe8f64805d7d8558bd3682eed4b19e3 /Lib/test | |
parent | e931f7b768efd3314a4936d9198f28548179ace6 (diff) | |
download | cpython-accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28.zip cpython-accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28.tar.gz cpython-accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28.tar.bz2 |
asyncio: test_as_completed(): disable "slow callback" warning
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_asyncio/test_tasks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index e199c5a..7b93a0e 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 |