mirror of https://github.com/python/cpython
test_multiprocessing: use assertLess() to see the timeout on error
This commit is contained in:
parent
cafd79d904
commit
29943aa120
|
@ -1084,7 +1084,7 @@ class _TestPool(BaseTestCase):
|
|||
self.pool.terminate()
|
||||
join = TimingWrapper(self.pool.join)
|
||||
join()
|
||||
self.assertTrue(join.elapsed < 0.2)
|
||||
self.assertLess(join.elapsed, 0.2)
|
||||
#
|
||||
# Test that manager has expected number of shared objects left
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue