summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-03-25 11:53:47 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-03-25 11:53:47 (GMT)
commit988bc970eb5465537eb2d60d4c5a694f0be2b6d8 (patch)
tree3fd571a8370eff19f3d10a683b254531bb5fbfb2
parent33a431cb3c60f9ca25e96fbb5a221441da6cef75 (diff)
downloadcpython-988bc970eb5465537eb2d60d4c5a694f0be2b6d8.zip
cpython-988bc970eb5465537eb2d60d4c5a694f0be2b6d8.tar.gz
cpython-988bc970eb5465537eb2d60d4c5a694f0be2b6d8.tar.bz2
Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
-rw-r--r--Lib/test/test_epoll.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py
index b66d9ea..cd5722f 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!")