diff Lib/test/test_select.py @ 72947:60fecfbea397

test_select: use a timeout=0 in test_errno()
author Victor Stinner <victor.stinner@haypocalc.com>
date Sun, 16 Oct 2011 20:48:52 +0200
parents 8bbfb24d4824
children f6b8e4226260
line wrap: on
line diff
--- a/Lib/test/test_select.py	Sun Oct 16 19:08:23 2011 +0200
+++ b/Lib/test/test_select.py	Sun Oct 16 20:48:52 2011 +0200
@@ -28,7 +28,7 @@
             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: