From 58205a0217e91232cc1e945dbfe4e387d636eb76 Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Mon, 18 May 2020 00:56:47 -0700 Subject: [PATCH] bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170) --- Lib/test/test_asyncio/test_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 573df2d7658..0fb36188418 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)