Skip to content

Commit

Permalink
Don't use functionality from 3.9+
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Jul 30, 2024
1 parent 7be6ba7 commit 12dd2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -4379,7 +4379,7 @@ def _test_ipv4(self):
@unittest.skipIf(not hasattr(_socket, 'IPPROTO_IPV6') or
not hasattr(_socket, 'IPV6_V6ONLY'),
"IPV6_V6ONLY option not supported")
@unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 required for this test')
@unittest.skipUnless(support.IPV6_ENABLED, 'IPv6 required for this test')
def test_ipv6(self):
cli, srv = socket.socketpair(socket.AF_INET6)
cli.close()
Expand Down

0 comments on commit 12dd2ca

Please sign in to comment.