diff options
-rw-r--r-- | Lib/test/test_epoll.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py index 094b0f0..58dd92f 100644 --- a/Lib/test/test_epoll.py +++ b/Lib/test/test_epoll.py @@ -260,9 +260,9 @@ class TestEPoll(unittest.TestCase): epoll = select.epoll() self.addCleanup(epoll.close) for timeout in (1e-2, 1e-3, 1e-4): - t0 = time.perf_counter() + t0 = time.monotonic() epoll.poll(timeout) - dt = time.perf_counter() - t0 + dt = time.monotonic() - t0 self.assertGreaterEqual(dt, timeout) |