diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-21 15:17:28 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-21 15:17:28 (GMT) |
| commit | a7d03d98c93c960039d2fae8ca3b375092cdcd49 (patch) | |
| tree | dd0ae814184ad4ba8cce1aebaae9200527a2a008 | |
| parent | 0bffc94d571bbd794a36aafc51ec649a26fe436f (diff) | |
| download | cpython-a7d03d98c93c960039d2fae8ca3b375092cdcd49.zip cpython-a7d03d98c93c960039d2fae8ca3b375092cdcd49.tar.gz cpython-a7d03d98c93c960039d2fae8ca3b375092cdcd49.tar.bz2 | |
Issue #22018: Hum, set_wakeup_fd() still raises ValueError on Windows
| -rw-r--r-- | 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 index e40dfb5..56ab631 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -252,7 +252,8 @@ class WakeupFDTests(unittest.TestCase): 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() |
