(self)
| 7297 | "dualstack_ipv6 not supported") |
| 7298 | @unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test') |
| 7299 | def test_dualstack_ipv6_family(self): |
| 7300 | with socket.create_server(("::1", 0), family=socket.AF_INET6, |
| 7301 | dualstack_ipv6=True) as sock: |
| 7302 | self.assertEqual(sock.family, socket.AF_INET6) |
| 7303 | |
| 7304 | |
| 7305 | class CreateServerFunctionalTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected