socket.gethostbyname(socket.gethostname()) can fail when host name resolution is…
socket.gethostbyname(socket.gethostname()) can fail when host name resolution is not set up correctly; do not fail test_socket if this is the case.
Showing
Please
register
or
sign in
to comment