(self)
| 103 | |
| 104 | @gen_test |
| 105 | def test_wait_timeout(self): |
| 106 | c = locks.Condition() |
| 107 | wait = c.wait(timedelta(seconds=0.01)) |
| 108 | self.io_loop.call_later(0.02, c.notify) # Too late. |
| 109 | yield gen.sleep(0.03) |
| 110 | self.assertFalse((yield wait)) |
| 111 | |
| 112 | @gen_test |
| 113 | def test_wait_timeout_preempted(self): |
nothing calls this directly
no test coverage detected