Kaydet (Commit) 988bc970 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #21038: Cleanup test_epoll.py

Remove useless test and unused variables. Initial patch by Andreas Schwab.
üst 33a431cb
...@@ -164,11 +164,8 @@ class TestEPoll(unittest.TestCase): ...@@ -164,11 +164,8 @@ class TestEPoll(unittest.TestCase):
expected.sort() expected.sort()
self.assertEqual(events, expected) self.assertEqual(events, expected)
self.assertFalse(then - now > 0.01, then - now)
now = time.time()
events = ep.poll(timeout=2.1, maxevents=4) events = ep.poll(timeout=2.1, maxevents=4)
then = time.time()
self.assertFalse(events) self.assertFalse(events)
client.send("Hello!") client.send("Hello!")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment