[Python-checkins] cpython (2.7): Issue #21038: Cleanup test_epoll.py

victor.stinner python-checkins at python.org
Tue Mar 25 12:54:03 CET 2014


http://hg.python.org/cpython/rev/d09032a9adee
changeset: 89976:d09032a9adee
branch: 2.7
parent: 89968:a22e5abf95db
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Mar 25 12:53:47 2014 +0100
summary:
 Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
files:
 Lib/test/test_epoll.py | 3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py
--- a/Lib/test/test_epoll.py
+++ b/Lib/test/test_epoll.py
@@ -164,11 +164,8 @@
 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!")
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /