diff options
| -rw-r--r-- | Lib/test/test_socket.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index f3791c1..da8e155 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -602,7 +602,7 @@ class GeneralModuleTests(unittest.TestCase):          for _, socktype, _, _, _ in infos:              self.assertEqual(socktype, socket.SOCK_STREAM)          # test proto and flags arguments -        socket.getaddrinfo(HOST, None, 0, 0, socket.AI_CANONNAME) +        socket.getaddrinfo(HOST, None, 0, 0, socket.SOL_TCP)          socket.getaddrinfo(HOST, None, 0, 0, 0, socket.AI_PASSIVE)          # a server willing to support both IPv4 and IPv6 will          # usually do this  | 
