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 1fe8c41..c61a2c8 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -65,7 +65,7 @@ for optional in ("AF_UNIX", ): missing_ok(optional) -socktype = socket.socket_type +socktype = socket.SocketType hostname = socket.gethostname() ip = socket.gethostbyname(hostname) hname, aliases, ipaddrs = socket.gethostbyaddr(ip) |