From 988bc970eb5465537eb2d60d4c5a694f0be2b6d8 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 25 Mar 2014 12:53:47 +0100 Subject: [PATCH] Issue #21038: Cleanup test_epoll.py Remove useless test and unused variables. Initial patch by Andreas Schwab. --- Lib/test/test_epoll.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py index b66d9ea7ac..cd5722f753 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!") -- 2.50.1