(self)
| 7387 | "dualstack_ipv6 not supported") |
| 7388 | @unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test') |
| 7389 | def test_dualstack_ipv6_family(self): |
| 7390 | with socket.create_server(("::1", 0), family=socket.AF_INET6, |
| 7391 | dualstack_ipv6=True) as sock: |
| 7392 | self.assertEqual(sock.family, socket.AF_INET6) |
| 7393 | |
| 7394 | |
| 7395 | class CreateServerFunctionalTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected