Skip to content

Commit 1fc0e9a

Browse files
committed
Fixed transport test for sending on broken sock
1 parent 1041a78 commit 1fc0e9a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_transport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def test_send_fail_non_blocking(self):
4848
tcp = Tcp("0.0.0.0", 0)
4949
with pytest.raises(socket.error) as err:
5050
tcp.send(b"\x01\x02\x03\x04")
51-
assert err.value.errno == errno.ENOTCONN
5251

5352
def test_recv_fail_non_blocking(self):
5453
# ensure it doesn't loop when a non blocking error is raised

0 commit comments

Comments
 (0)