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

This commit is contained in:
Victor Stinner 2011-03-24 16:24:07 +01:00
parent cafd79d904
commit 29943aa120
1 changed files with 1 additions and 1 deletions

View File

@ -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
#