Add test for presence of socket_type.
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 @@
 		 ):
     missing_ok(optional)
 
+socktype = socket.socket_type
 hostname = socket.gethostname()
 ip = socket.gethostbyname(hostname)
 hname, aliases, ipaddrs = socket.gethostbyaddr(ip)