(self)
| 1979 | threading_helper.join_thread(w) |
| 1980 | |
| 1981 | def test_timeout(self): |
| 1982 | cond = self.Condition() |
| 1983 | wait = TimingWrapper(cond.wait) |
| 1984 | cond.acquire() |
| 1985 | res = wait(TIMEOUT1) |
| 1986 | cond.release() |
| 1987 | self.assertEqual(res, False) |
| 1988 | self.assertTimingAlmostEqual(wait.elapsed, TIMEOUT1) |
| 1989 | |
| 1990 | @classmethod |
| 1991 | def _test_waitfor_f(cls, cond, state): |
nothing calls this directly
no test coverage detected