bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)

This commit is contained in:
Nathaniel J. Smith 2020-05-18 00:56:47 -07:00 committed by GitHub
parent 442634c42f
commit 58205a0217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1259,7 +1259,7 @@ class EventLoopTestsMixin:
def test_create_datagram_endpoint(self):
self._test_create_datagram_endpoint(('127.0.0.1', 0), socket.AF_INET)
@unittest.skipUnless(support.IPV6_ENABLED, 'IPv6 not supported or enabled')
@unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 not supported or enabled')
def test_create_datagram_endpoint_ipv6(self):
self._test_create_datagram_endpoint(('::1', 0), socket.AF_INET6)