mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #21038: Cleanup test_epoll.py
Remove useless test and unused variables. Initial patch by Andreas Schwab.
This commit is contained in:
parent
215ad66405
commit
6f20b7c473
1 changed files with 0 additions and 3 deletions
|
@ -174,11 +174,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(b"Hello!")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue