]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)
authorNathaniel J. Smith <njs@pobox.com>
Mon, 18 May 2020 07:56:47 +0000 (00:56 -0700)
committerGitHub <noreply@github.com>
Mon, 18 May 2020 07:56:47 +0000 (00:56 -0700)
Lib/test/test_asyncio/test_events.py

index 573df2d765887f698b15e26a67a3e59bc0d966d0..0fb361884185e3877cd1bc246a88e8a9212182de 100644 (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)