From: Victor Stinner Date: Sun, 16 Oct 2011 18:48:52 +0000 (+0200) Subject: test_select: use a timeout=0 in test_errno() X-Git-Tag: v3.3.0a1~1158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=386c2d8b4e1944ff184f39be3f6bac531bd43816;p=thirdparty%2FPython%2Fcpython.git test_select: use a timeout=0 in test_errno() --- diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index c503440bd077..ec77a4970087 100644 --- a/Lib/test/test_select.py +++ b/Lib/test/test_select.py @@ -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: