Condition.wait now returns bool.

This commit is contained in:
Georg Brandl 2010-10-28 09:24:56 +00:00
parent b9a4391754
commit 65ffae0aa3
1 changed files with 1 additions and 1 deletions

View 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)