Skip to content

Commit 87cf9b1

Browse files
committed
do not connect to all interfaces
1 parent 7aea6c1 commit 87cf9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _assert_connect(conn, server_address, **server_kwargs):
101101
@pytest.fixture
102102
def tcp_address():
103103
with socket.socket() as sock:
104-
sock.bind(("", 0))
104+
sock.bind(("127.0.0.1", 0))
105105
return sock.getsockname()
106106

107107

0 commit comments

Comments
 (0)