(self)
| 90 | self.assertEqual(list(range(6)), self.history) |
| 91 | |
| 92 | def test_notify_all(self): |
| 93 | c = locks.Condition() |
| 94 | for i in range(4): |
| 95 | self.record_done(c.wait(), i) |
| 96 | |
| 97 | c.notify_all() |
| 98 | self.loop_briefly() |
| 99 | self.history.append("notify_all") |
| 100 | |
| 101 | # Callbacks execute in the order they were registered. |
| 102 | self.assertEqual(list(range(4)) + ["notify_all"], self.history) # type: ignore |
| 103 | |
| 104 | @gen_test |
| 105 | def test_wait_timeout(self): |
nothing calls this directly
no test coverage detected