Commit 29943aa1 authored by Victor Stinner's avatar Victor Stinner

test_multiprocessing: use assertLess() to see the timeout on error

parent cafd79d9
...@@ -1084,7 +1084,7 @@ class _TestPool(BaseTestCase): ...@@ -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
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment