summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2020-05-18 07:56:47 (GMT)
committerGitHub <noreply@github.com>2020-05-18 07:56:47 (GMT)
commit58205a0217e91232cc1e945dbfe4e387d636eb76 (patch)
tree06d719a3bc6728a79089f97959ba49b3980c0ed4
parent442634c42fcaf31c636f693951a97734042c3e7b (diff)
downloadcpython-58205a0217e91232cc1e945dbfe4e387d636eb76.zip
cpython-58205a0217e91232cc1e945dbfe4e387d636eb76.tar.gz
cpython-58205a0217e91232cc1e945dbfe4e387d636eb76.tar.bz2
bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)
-rw-r--r--Lib/test/test_asyncio/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index 573df2d..0fb3618 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -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)