Commit ff98b3f6 authored by Richard Oudkerk's avatar Richard Oudkerk

Issue #16616: Enable test in test_poll which was (accidentally?) disabled

parent 109b1743
......@@ -67,13 +67,11 @@ class PollTests(unittest.TestCase):
self.assertEqual(bufs, [MSG] * NUM_PIPES)
def poll_unit_tests(self):
def test_poll_unit_tests(self):
# returns NVAL for invalid file descriptor
FD = 42
try:
os.close(FD)
except OSError:
pass
FD, w = os.pipe()
os.close(FD)
os.close(w)
p = select.poll()
p.register(FD)
r = p.poll()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment