(self)
| 392 | """ EINTR tests for the time module. """ |
| 393 | |
| 394 | def test_sleep(self): |
| 395 | t0 = time.monotonic() |
| 396 | time.sleep(self.sleep_time) |
| 397 | self.stop_alarm() |
| 398 | dt = time.monotonic() - t0 |
| 399 | self.check_elapsed_time(dt) |
| 400 | |
| 401 | |
| 402 | @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") |
nothing calls this directly
no test coverage detected