(self, actual, expected)
| 101 | support.reap_children() |
| 102 | |
| 103 | def assertTimeout(self, actual, expected): |
| 104 | # The waiting and/or time.monotonic() can be imprecise, which |
| 105 | # is why comparing to the expected value would sometimes fail |
| 106 | # (especially under Windows). |
| 107 | self.assertGreaterEqual(actual, expected * 0.6) |
| 108 | # Test nothing insane happened |
| 109 | self.assertLess(actual, expected * 10.0) |
| 110 | |
| 111 | |
| 112 | class BaseLockTests(BaseTestCase): |
no test coverage detected