MCPcopy Index your code
hub / github.com/python/cpython / test_tcp6

Method test_tcp6

Lib/test/test_socket.py:7430–7435  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7428
7429 @unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test')
7430 def test_tcp6(self):
7431 port = socket_helper.find_unused_port()
7432 with socket.create_server(("", port),
7433 family=socket.AF_INET6) as sock:
7434 self.echo_server(sock)
7435 self.echo_client(("::1", port), socket.AF_INET6)
7436
7437 # --- dual stack tests
7438

Callers

nothing calls this directly

Calls 3

echo_serverMethod · 0.95
echo_clientMethod · 0.95
create_serverMethod · 0.45

Tested by

no test coverage detected