(self)
| 463 | "poll may fail on macOS; see issue #28087") |
| 464 | @unittest.skipUnless(hasattr(select, 'poll'), 'need select.poll') |
| 465 | def test_poll(self): |
| 466 | poller = select.poll() |
| 467 | |
| 468 | t0 = time.monotonic() |
| 469 | poller.poll(self.sleep_time * 1e3) |
| 470 | dt = time.monotonic() - t0 |
| 471 | self.stop_alarm() |
| 472 | self.check_elapsed_time(dt) |
| 473 | |
| 474 | @unittest.skipUnless(hasattr(select, 'epoll'), 'need select.epoll') |
| 475 | def test_epoll(self): |
nothing calls this directly
no test coverage detected