diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-16 18:48:52 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-16 18:48:52 (GMT) |
commit | 386c2d8b4e1944ff184f39be3f6bac531bd43816 (patch) | |
tree | 52c0d87ed8a839b361bcdd41f88138a5b7038e05 /Lib/test/test_select.py | |
parent | 5a3ff79fd6b885726a1c7d999975ff1ecb35225c (diff) | |
download | cpython-386c2d8b4e1944ff184f39be3f6bac531bd43816.zip cpython-386c2d8b4e1944ff184f39be3f6bac531bd43816.tar.gz cpython-386c2d8b4e1944ff184f39be3f6bac531bd43816.tar.bz2 |
test_select: use a timeout=0 in test_errno()
Diffstat (limited to 'Lib/test/test_select.py')
-rw-r--r-- | Lib/test/test_select.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index c503440..ec77a49 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: |