diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 7246c51ec3a..f9d8313adff 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. (fqdn: %s, all: %s)" % (fqdn, repr(all_host_names))) + self.fail("Error testing host resolution mechanisms. (fqdn: %s, all: %s)" % (fqhn, repr(all_host_names))) def testRefCountGetNameInfo(self): # Testing reference count for getnameinfo