(self)
| 473 | |
| 474 | @unittest.skipUnless(hasattr(select, 'epoll'), 'need select.epoll') |
| 475 | def test_epoll(self): |
| 476 | poller = select.epoll() |
| 477 | self.addCleanup(poller.close) |
| 478 | |
| 479 | t0 = time.monotonic() |
| 480 | poller.poll(self.sleep_time) |
| 481 | dt = time.monotonic() - t0 |
| 482 | self.stop_alarm() |
| 483 | self.check_elapsed_time(dt) |
| 484 | |
| 485 | @unittest.skipUnless(hasattr(select, 'kqueue'), 'need select.kqueue') |
| 486 | def test_kqueue(self): |
nothing calls this directly
no test coverage detected