]> granicus.if.org Git - python/commitdiff
Condition.wait now returns bool.
authorGeorg Brandl <georg@python.org>
Thu, 28 Oct 2010 09:24:56 +0000 (09:24 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 28 Oct 2010 09:24:56 +0000 (09:24 +0000)
Lib/test/test_multiprocessing.py

index d8e91dfc01c9c8299d264b2711c2c848c3481345..71571d760ff5737322c62f0bff122f2f91d1a488 100644 (file)
@@ -753,7 +753,7 @@ class _TestCondition(BaseTestCase):
         cond.acquire()
         res = wait(TIMEOUT1)
         cond.release()
-        self.assertEqual(res, None)
+        self.assertEqual(res, False)
         self.assertTimingAlmostEqual(wait.elapsed, TIMEOUT1)