From 6f20b7c4736897cc3bc211d68abdd7d87cce2e44 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 25 Mar 2014 12:49:53 +0100 Subject: Issue #21038: Cleanup test_epoll.py Remove useless test and unused variables. Initial patch by Andreas Schwab. --- Lib/test/test_epoll.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py index 0c88cc4..d8af841 100644 --- a/Lib/test/test_epoll.py +++ b/Lib/test/test_epoll.py @@ -174,11 +174,8 @@ class TestEPoll(unittest.TestCase): expected.sort() self.assertEqual(events, expected) - self.assertFalse(then - now > 0.01, then - now) - now = time.time() events = ep.poll(timeout=2.1, maxevents=4) - then = time.time() self.assertFalse(events) client.send(b"Hello!") -- cgit v0.12