summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_socket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 31b84f2..1fe8c41 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -65,6 +65,7 @@ for optional in ("AF_UNIX",
):
missing_ok(optional)
+socktype = socket.socket_type
hostname = socket.gethostname()
ip = socket.gethostbyname(hostname)
hname, aliases, ipaddrs = socket.gethostbyaddr(ip)