[Python-checkins] cpython (merge 3.5 -> default): Merge 3.5 (test_asyncio)
victor.stinner
python-checkins at python.org
Mon Apr 18 04:30:38 EDT 2016
https://hg.python.org/cpython/rev/43567d214534
changeset: 101049:43567d214534
parent: 101046:5d8042ab3361
parent: 101048:730a95c2d38f
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Apr 18 10:29:19 2016 +0200
summary:
Merge 3.5 (test_asyncio)
files:
Lib/test/test_asyncio/test_tasks.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -2395,7 +2395,9 @@
resp = yield from long_running_task()
self.assertEqual(resp, 'done')
dt = self.loop.time() - t0
- self.assertTrue(0.09 < dt < 0.11, dt)
+ # tolerate a time delta for clocks with bad resolution
+ # and slow buildbots
+ self.assertTrue(0.09 < dt < 0.15, dt)
self.loop.run_until_complete(go())
def test_raise_runtimeerror_if_no_task(self):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list