mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
test_selectors: Tolerate 2.0 seconds instead of 1.6 sec for very slow buildbots
This commit is contained in:
parent
3f7e064b2b
commit
437ffbdcd8
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue