summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-16 16:54:25 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-16 16:54:25 (GMT)
commitc3fcf4b3607728c85d10b3e6fd683290a862ebee (patch)
treed214b46a54288e2d71c67bf54b35d54602106276
parentf85581f6e58d7a77cfca06a72de1812fcda8e795 (diff)
parentaccef5ce3645736a13a1c7d0d7ce8bfbeba4bf28 (diff)
downloadcpython-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.py2
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