Skip to content

Commit 58205a0

Browse files
authored
bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)
1 parent 442634c commit 58205a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_asyncio/test_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ def datagram_received(self, data, addr):
12591259
def test_create_datagram_endpoint(self):
12601260
self._test_create_datagram_endpoint(('127.0.0.1', 0), socket.AF_INET)
12611261

1262-
@unittest.skipUnless(support.IPV6_ENABLED, 'IPv6 not supported or enabled')
1262+
@unittest.skipUnless(socket_helper.IPV6_ENABLED, 'IPv6 not supported or enabled')
12631263
def test_create_datagram_endpoint_ipv6(self):
12641264
self._test_create_datagram_endpoint(('::1', 0), socket.AF_INET6)
12651265

0 commit comments

Comments
 (0)