[Python-checkins] cpython (3.4): test_selectors: Tolerate 2.0 seconds instead of 1.6 sec for very slow buildbots
victor.stinner
python-checkins at python.org
Fri Dec 12 12:59:26 CET 2014
https://hg.python.org/cpython/rev/d633fa3f1209
changeset: 93849:d633fa3f1209
branch: 3.4
parent: 93847:f0297263a1e8
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Dec 12 12:57:35 2014 +0100
summary:
test_selectors: Tolerate 2.0 seconds instead of 1.6 sec for very slow buildbots
files:
Lib/test/test_selectors.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py
--- a/Lib/test/test_selectors.py
+++ b/Lib/test/test_selectors.py
@@ -347,7 +347,8 @@
self.assertFalse(s.select(1))
t1 = time()
dt = t1 - t0
- self.assertTrue(0.8 <= dt <= 1.6, dt)
+ # Tolerate 2.0 seconds for very slow buildbots
+ self.assertTrue(0.8 <= dt <= 2.0, dt)
@unittest.skipUnless(hasattr(signal, "alarm"),
"signal.alarm() required for this test")
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list