mirror of https://github.com/python/cpython
Relax timing check (seen a buildbot failure on this)
This commit is contained in:
commit
732110ab39
|
@ -1100,7 +1100,7 @@ class _TestPool(BaseTestCase):
|
||||||
self.pool.terminate()
|
self.pool.terminate()
|
||||||
join = TimingWrapper(self.pool.join)
|
join = TimingWrapper(self.pool.join)
|
||||||
join()
|
join()
|
||||||
self.assertTrue(join.elapsed < 0.2)
|
self.assertTrue(join.elapsed < 0.5)
|
||||||
|
|
||||||
def raising():
|
def raising():
|
||||||
raise KeyError("key")
|
raise KeyError("key")
|
||||||
|
|
Loading…
Reference in New Issue