[Python-checkins] cpython: Issue #22018: Hum, set_wakeup_fd() still raises ValueError on Windows
victor.stinner
python-checkins at python.org
Mon Jul 21 17:18:31 CEST 2014
http://hg.python.org/cpython/rev/7a1737033a23
changeset: 91746:7a1737033a23
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jul 21 17:17:28 2014 +0200
summary:
Issue #22018: Hum, set_wakeup_fd() still raises ValueError on Windows
files:
Lib/test/test_signal.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -252,7 +252,8 @@
def test_invalid_fd(self):
fd = support.make_bad_fd()
- self.assertRaises(OSError, signal.set_wakeup_fd, fd)
+ self.assertRaises((ValueError, OSError),
+ signal.set_wakeup_fd, fd)
def test_set_wakeup_fd_result(self):
r1, w1 = os.pipe()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list