Kaydet (Commit) c667d052 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Provide more debug output, to diagnose OpenBSD test failures.

üst 04904faa
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment