From: Nathaniel J. Smith Date: Mon, 18 May 2020 07:56:47 +0000 (-0700) Subject: bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170) X-Git-Tag: v3.9.0b1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58205a0217e91232cc1e945dbfe4e387d636eb76;p=thirdparty%2FPython%2Fcpython.git bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170) --- diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 573df2d76588..0fb361884185 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)