From f8580215c1d01b44b7144b090115fbd66b50c68d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 21 May 1997 14:38:57 +0000 Subject: [PATCH] Add test for presence of socket_type. --- Lib/test/test_socket.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 31b84f2c6c0..1fe8c417309 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)