summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-12 11:57:35 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-12-12 11:57:35 (GMT)
commit437ffbdcd8b7819af256f4e1b0a674f7612e8f30 (patch)
treed91a36bb54f21f7e1be1625bdf4085306adce4ba
parent3f7e064b2b10e623c592bb1e5d98b2fdbc7a2bf3 (diff)
downloadcpython-437ffbdcd8b7819af256f4e1b0a674f7612e8f30.zip
cpython-437ffbdcd8b7819af256f4e1b0a674f7612e8f30.tar.gz
cpython-437ffbdcd8b7819af256f4e1b0a674f7612e8f30.tar.bz2
test_selectors: Tolerate 2.0 seconds instead of 1.6 sec for very slow buildbots
-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 c08a3c4..f9aac50 100644
--- a/Lib/test/test_selectors.py
+++ b/Lib/test/test_selectors.py
@@ -347,7 +347,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")