Issue #22018: Hum, set_wakeup_fd() still raises ValueError on Windows

This commit is contained in:
Victor Stinner 2014-07-21 17:17:28 +02:00
parent 0bffc94d57
commit a7d03d98c9
1 changed files with 2 additions and 1 deletions

View File

@ -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()