From: Guido van Rossum Date: Wed, 21 May 1997 14:38:57 +0000 (+0000) Subject: Add test for presence of socket_type. X-Git-Tag: v1.5a3~505 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8580215c1d01b44b7144b090115fbd66b50c68d;p=python Add test for presence of socket_type. --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 31b84f2c6c..1fe8c41730 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)