From 29943aa120adf77407504ca6421bd13af922c93e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 24 Mar 2011 16:24:07 +0100 Subject: test_multiprocessing: use assertLess() to see the timeout on error --- Lib/test/test_multiprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index d1ac4b7..f4031de 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -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 # -- cgit v0.12