From 386c2d8b4e1944ff184f39be3f6bac531bd43816 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 16 Oct 2011 20:48:52 +0200 Subject: [PATCH] test_select: use a timeout=0 in test_errno() --- Lib/test/test_select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index c503440bd0..ec77a49700 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: -- 2.40.0