[Python-checkins] cpython (merge 3.4 -> default): Merge 3.4 (test_selectors)
victor.stinner
python-checkins at python.org
Fri Dec 12 12:59:26 CET 2014
https://hg.python.org/cpython/rev/05abd746064e
changeset: 93850:05abd746064e
parent: 93848:65eb12898d56
parent: 93849:d633fa3f1209
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Dec 12 12:58:45 2014 +0100
summary:
Merge 3.4 (test_selectors)
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
@@ -344,7 +344,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