[Python-checkins] cpython: test_select: use a timeout=0 in test_errno()
victor.stinner
python-checkins at python.org
Sun Oct 16 20:47:57 CEST 2011
http://hg.python.org/cpython/rev/60fecfbea397
changeset: 72947:60fecfbea397
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Sun Oct 16 20:48:52 2011 +0200
summary:
test_select: use a timeout=0 in test_errno()
files:
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
--- a/Lib/test/test_select.py
+++ b/Lib/test/test_select.py
@@ -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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list