Kaydet (Commit) f8580215 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add test for presence of socket_type.

üst 3b4b6fc6
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment