summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-06-03 17:58:31 (GMT)
committerFred Drake <fdrake@acm.org>1997-06-03 17:58:31 (GMT)
commitcf3527b705516ffea6d5f5810bd8b80076101415 (patch)
tree06a32d7417b4f09df361148980b22f756c01f5d9 /Lib/test/test_socket.py
parentca0f88d887852baaee6e070244b65338be301191 (diff)
downloadcpython-cf3527b705516ffea6d5f5810bd8b80076101415.zip
cpython-cf3527b705516ffea6d5f5810bd8b80076101415.tar.gz
cpython-cf3527b705516ffea6d5f5810bd8b80076101415.tar.bz2
socket_type --> SocketType
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 1fe8c41..c61a2c8 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -65,7 +65,7 @@ for optional in ("AF_UNIX",
):
missing_ok(optional)
-socktype = socket.socket_type
+socktype = socket.SocketType
hostname = socket.gethostname()
ip = socket.gethostbyname(hostname)
hname, aliases, ipaddrs = socket.gethostbyaddr(ip)