Condition.wait now returns bool.
This commit is contained in:
parent
b9a4391754
commit
65ffae0aa3
|
@ -753,7 +753,7 @@ class _TestCondition(BaseTestCase):
|
||||||
cond.acquire()
|
cond.acquire()
|
||||||
res = wait(TIMEOUT1)
|
res = wait(TIMEOUT1)
|
||||||
cond.release()
|
cond.release()
|
||||||
self.assertEqual(res, None)
|
self.assertEqual(res, False)
|
||||||
self.assertTimingAlmostEqual(wait.elapsed, TIMEOUT1)
|
self.assertTimingAlmostEqual(wait.elapsed, TIMEOUT1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue