summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-24 15:24:07 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-24 15:24:07 (GMT)
commit29943aa120adf77407504ca6421bd13af922c93e (patch)
tree66558cc4153bf5e9eef0bc22270344ffda6b2234 /Lib/test
parentcafd79d904d19e90af375dbee43668f7dbf733d0 (diff)
downloadcpython-29943aa120adf77407504ca6421bd13af922c93e.zip
cpython-29943aa120adf77407504ca6421bd13af922c93e.tar.gz
cpython-29943aa120adf77407504ca6421bd13af922c93e.tar.bz2
test_multiprocessing: use assertLess() to see the timeout on error
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_multiprocessing.py2
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
#