Issue #21038: Cleanup test_epoll.py

Remove useless test and unused variables. Initial patch by Andreas Schwab.
This commit is contained in:
Victor Stinner 2014-03-25 12:53:47 +01:00
parent 33a431cb3c
commit 988bc970eb
1 changed files with 0 additions and 3 deletions

View File

@ -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!")