Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f858021

Browse files
committed
Add test for presence of socket_type.
1 parent 3b4b6fc commit f858021

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_socket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def missing_ok(str):
6565
):
6666
missing_ok(optional)
6767

68+
socktype = socket.socket_type
6869
hostname = socket.gethostname()
6970
ip = socket.gethostbyname(hostname)
7071
hname, aliases, ipaddrs = socket.gethostbyaddr(ip)

0 commit comments

Comments
 (0)