Commit 386c2d8b authored by Victor Stinner's avatar Victor Stinner

test_select: use a timeout=0 in test_errno()

parent 5a3ff79f
......@@ -28,7 +28,7 @@ class SelectTestCase(unittest.TestCase):
fd = fp.fileno()
fp.close()
try:
select.select([fd], [], [])
select.select([fd], [], [], 0)
except select.error as err:
self.assertEqual(err.errno, errno.EBADF)
else:
......
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