diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-16 16:54:25 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-16 16:54:25 (GMT) |
commit | c3fcf4b3607728c85d10b3e6fd683290a862ebee (patch) | |
tree | d214b46a54288e2d71c67bf54b35d54602106276 | |
parent | f85581f6e58d7a77cfca06a72de1812fcda8e795 (diff) | |
parent | accef5ce3645736a13a1c7d0d7ce8bfbeba4bf28 (diff) | |
download | cpython-c3fcf4b3607728c85d10b3e6fd683290a862ebee.zip cpython-c3fcf4b3607728c85d10b3e6fd683290a862ebee.tar.gz cpython-c3fcf4b3607728c85d10b3e6fd683290a862ebee.tar.bz2 |
(Merge 3.4) asyncio: test_as_completed(): disable "slow callback" warning
-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 |