diff options
author | Guido van Rossum <guido@python.org> | 1997-05-21 14:38:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-21 14:38:57 (GMT) |
commit | f8580215c1d01b44b7144b090115fbd66b50c68d (patch) | |
tree | a203cb395e7908af6faeabf5641ad53af7b59db4 | |
parent | 3b4b6fc602402058ece0506ee8dab5c46ec39adc (diff) | |
download | cpython-f8580215c1d01b44b7144b090115fbd66b50c68d.zip cpython-f8580215c1d01b44b7144b090115fbd66b50c68d.tar.gz cpython-f8580215c1d01b44b7144b090115fbd66b50c68d.tar.bz2 |
Add test for presence of socket_type.
-rw-r--r-- | Lib/test/test_socket.py | 1 |
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) |