From: Victor Stinner Date: Tue, 25 Mar 2014 11:49:53 +0000 (+0100) Subject: Issue #21038: Cleanup test_epoll.py X-Git-Tag: v3.4.1rc1~181 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f20b7c4736897cc3bc211d68abdd7d87cce2e44;p=python Issue #21038: Cleanup test_epoll.py Remove useless test and unused variables. Initial patch by Andreas Schwab. --- diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py index 0c88cc424c..d8af841efc 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!")