summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-26 09:50:11 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-26 09:50:11 (GMT)
commitc667d052e5c10ef519c61fd9c2e2713cc99297a9 (patch)
tree96c13003d192099dd4c7ea361c7066a0e1c76b1c
parent04904faac52de7b83335e404fe460586537c2565 (diff)
downloadcpython-c667d052e5c10ef519c61fd9c2e2713cc99297a9.zip
cpython-c667d052e5c10ef519c61fd9c2e2713cc99297a9.tar.gz
cpython-c667d052e5c10ef519c61fd9c2e2713cc99297a9.tar.bz2
Provide more debug output, to diagnose OpenBSD test failures.
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 592e897..7246c51 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -270,7 +270,7 @@ class GeneralModuleTests(unittest.TestCase):
all_host_names = [hostname, hname] + aliases
fqhn = socket.getfqdn()
if not fqhn in all_host_names:
- self.fail("Error testing host resolution mechanisms.")
+ self.fail("Error testing host resolution mechanisms. (fqdn: %s, all: %s)" % (fqdn, repr(all_host_names)))
def testRefCountGetNameInfo(self):
# Testing reference count for getnameinfo