summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-21 14:38:57 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-21 14:38:57 (GMT)
commitf8580215c1d01b44b7144b090115fbd66b50c68d (patch)
treea203cb395e7908af6faeabf5641ad53af7b59db4
parent3b4b6fc602402058ece0506ee8dab5c46ec39adc (diff)
downloadcpython-f8580215c1d01b44b7144b090115fbd66b50c68d.zip
cpython-f8580215c1d01b44b7144b090115fbd66b50c68d.tar.gz
cpython-f8580215c1d01b44b7144b090115fbd66b50c68d.tar.bz2
Add test for presence of socket_type.
-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)