Staging: this is not the live site, pydocs.org.
test.support.socket_helper
Symbols in test.support.socket_helper
b
- bind_port
- Bind the socket to a free port and return the port number.
- bind_unix_socket
- Bind a Unix socket, raising unittest.SkipTest if PermissionError is raised.
i
- IPV6_ENABLED
- Set to True if IPv6 is enabled on this host, False otherwise.
t
- transient_internet
- A context manager that raises ResourceDenied when various issues with the internet connection manifest themselves as exceptions.