Merge pull request #1692 from alvinlindstam/os-x-tests

Improve test check for windows platform
This commit is contained in:
Jeong YunWon authored and GitHub committed 2020-01-16 20:11:51 +09:00
commit 7f191aadcc
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ assert_raises(TypeError, select.select, [Almost()], [], [])
assert_raises(TypeError, select.select, [], [], [], "not a number")
assert_raises(ValueError, select.select, [], [], [], -1)
if "win" in sys.platform:
if sys.platform in ["win32", "cygwin"]:
assert_raises(OSError, select.select, [0], [], [])
recvr = socket.socket()