diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-24 15:24:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-03-24 15:24:07 (GMT) |
commit | 29943aa120adf77407504ca6421bd13af922c93e (patch) | |
tree | 66558cc4153bf5e9eef0bc22270344ffda6b2234 | |
parent | cafd79d904d19e90af375dbee43668f7dbf733d0 (diff) | |
download | cpython-29943aa120adf77407504ca6421bd13af922c93e.zip cpython-29943aa120adf77407504ca6421bd13af922c93e.tar.gz cpython-29943aa120adf77407504ca6421bd13af922c93e.tar.bz2 |
test_multiprocessing: use assertLess() to see the timeout on error
-rw-r--r-- | Lib/test/test_multiprocessing.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 # |