mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
test_multiprocessing: use assertLess() to see the timeout on error
This commit is contained in:
parent
cafd79d904
commit
29943aa120
1 changed files with 1 additions and 1 deletions
|
@ -1084,7 +1084,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.assertLess(join.elapsed, 0.2)
|
||||||
#
|
#
|
||||||
# Test that manager has expected number of shared objects left
|
# Test that manager has expected number of shared objects left
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue