diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-25 11:49:53 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-25 11:49:53 (GMT) |
commit | 6f20b7c4736897cc3bc211d68abdd7d87cce2e44 (patch) | |
tree | 9eee662ec24fd8f3b9529560306f576a07fe1a50 /Lib/test/test_epoll.py | |
parent | 215ad664055cb5225f398577e7c69c91cc079e8f (diff) | |
download | cpython-6f20b7c4736897cc3bc211d68abdd7d87cce2e44.zip cpython-6f20b7c4736897cc3bc211d68abdd7d87cce2e44.tar.gz cpython-6f20b7c4736897cc3bc211d68abdd7d87cce2e44.tar.bz2 |
Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
Diffstat (limited to 'Lib/test/test_epoll.py')
-rw-r--r-- | Lib/test/test_epoll.py | 3 |
1 files changed, 0 insertions, 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!") |