(self)
| 7380 | "IPV6_V6ONLY option not supported") |
| 7381 | @unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test') |
| 7382 | def test_ipv6_only_default(self): |
| 7383 | with socket.create_server(("::1", 0), family=socket.AF_INET6) as sock: |
| 7384 | assert sock.getsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY) |
| 7385 | |
| 7386 | @unittest.skipIf(not socket.has_dualstack_ipv6(), |
| 7387 | "dualstack_ipv6 not supported") |
nothing calls this directly
no test coverage detected