mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Merge pull request #1692 from alvinlindstam/os-x-tests
Improve test check for windows platform
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user