cpython: 3cd216b56599 (original) (raw)
Mercurial > cpython
changeset 89973:3cd216b56599 3.4
Issue #21038: Cleanup test_epoll.py Remove useless test and unused variables. Initial patch by Andreas Schwab. [#21038]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Tue, 25 Mar 2014 12:49:53 +0100 |
parents | a97dcdee35f9 |
children | 945d7dd3b455 |
files | Lib/test/test_epoll.py |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-)[+] [-] Lib/test/test_epoll.py 3 |
line wrap: on
line diff
--- a/Lib/test/test_epoll.py +++ b/Lib/test/test_epoll.py @@ -174,11 +174,8 @@ class TestEPoll(unittest.TestCase): expected.sort() self.assertEqual(events, expected)
self.assertFalse(then - now > 0.01, then - now)[](#l1.7)
now = time.time()[](#l1.9) events = ep.poll(timeout=2.1, maxevents=4)[](#l1.10)
then = time.time()[](#l1.11) self.assertFalse(events)[](#l1.12)