From: Victor Stinner Date: Tue, 25 Mar 2014 11:53:47 +0000 (+0100) Subject: Issue #21038: Cleanup test_epoll.py X-Git-Tag: v2.7.7rc1~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=988bc970eb5465537eb2d60d4c5a694f0be2b6d8;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 b66d9ea7ac..cd5722f753 100644 --- a/Lib/test/test_epoll.py +++ b/Lib/test/test_epoll.py @@ -164,11 +164,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("Hello!")