mirror of https://github.com/mahmoud/boltons.git
getting windows py3 test_socketutils passing (socketpairs in windows py3 are quite a bit different than *nix)
This commit is contained in:
parent
01fb908d25
commit
a29179e6f3
|
@ -139,7 +139,8 @@ def test_client_disconnecting():
|
|||
except socket.error:
|
||||
assert by.getsendbuffer() == b'123'
|
||||
else:
|
||||
assert False, 'expected socket.error broken pipe'
|
||||
if sys.platform != 'win32': # Windows socketpairs are kind of bad
|
||||
assert False, 'expected socket.error broken pipe'
|
||||
|
||||
by.shutdown(socket.SHUT_RDWR)
|
||||
by.close()
|
||||
|
|
Loading…
Reference in New Issue