commit | 89197fe93c4a3f3e983721b0325b7bb5613c7e9c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Nov 20 14:16:17 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Nov 20 14:16:17 2010 +0000 |
tree | 3c6da229de6dafad834b489221270e7370c2519b | |
parent | cd6bb26fa766723bdd7a771932d4863ed304966c [diff] [blame] |
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.
diff --git a/Misc/NEWS b/Misc/NEWS index 530cc6f..b9e8d16 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -46,6 +46,9 @@ Tests ----- +- Do not fail test_socket when the IP address of the local hostname + cannot be looked up. + - Issue #8886: Use context managers throughout test_zipfile. Patch by Eric Carstensen.