From 437ffbdcd8b7819af256f4e1b0a674f7612e8f30 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 12 Dec 2014 12:57:35 +0100 Subject: [PATCH] test_selectors: Tolerate 2.0 seconds instead of 1.6 sec for very slow buildbots --- Lib/test/test_selectors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_selectors.py b/Lib/test/test_selectors.py index c08a3c49891..f9aac5005e4 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")