MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_tcp6

Method test_tcp6

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

Source from the content-addressed store, hash-verified

7338
7339 @unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test')
7340 def test_tcp6(self):
7341 port = socket_helper.find_unused_port()
7342 with socket.create_server(("", port),
7343 family=socket.AF_INET6) as sock:
7344 self.echo_server(sock)
7345 self.echo_client(("::1", port), socket.AF_INET6)
7346
7347 # --- dual stack tests
7348

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