summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-12 11:58:45 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-12-12 11:58:45 (GMT)
commitee2b23746456cc7e72eda3cfaef680f9f54df847 (patch)
tree2343ce311b2627162944c472eb5ab2a333d00f31
parent6884555f85fc352753a478ac249642d37b2b7bea (diff)
parent437ffbdcd8b7819af256f4e1b0a674f7612e8f30 (diff)
downloadcpython-ee2b23746456cc7e72eda3cfaef680f9f54df847.zip
cpython-ee2b23746456cc7e72eda3cfaef680f9f54df847.tar.gz
cpython-ee2b23746456cc7e72eda3cfaef680f9f54df847.tar.bz2
Merge 3.4 (test_selectors)
-rw-r--r--Lib/test/test_selectors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py
index 2625c12..77bddbe 100644
--- a/Lib/test/test_selectors.py
+++ b/Lib/test/test_selectors.py
@@ -344,7 +344,8 @@ class BaseSelectorTestCase(unittest.TestCase):
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")