We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e87a01 commit f984984Copy full SHA for f984984
test/fixtures.py
@@ -25,7 +25,7 @@
25
26
def get_open_port():
27
sock = socket.socket()
28
- sock.bind(("", 0))
+ sock.bind(("127.0.0.1", 0))
29
port = sock.getsockname()[1]
30
sock.close()
31
return port
0 commit comments