Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f20b7c

Browse files
committed
Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
1 parent 215ad66 commit 6f20b7c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/test/test_epoll.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,8 @@ def test_control_and_wait(self):
174174
expected.sort()
175175

176176
self.assertEqual(events, expected)
177-
self.assertFalse(then - now > 0.01, then - now)
178177

179-
now = time.time()
180178
events = ep.poll(timeout=2.1, maxevents=4)
181-
then = time.time()
182179
self.assertFalse(events)
183180

184181
client.send(b"Hello!")

0 commit comments

Comments
 (0)