[Python-checkins] bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)

Nathaniel J. Smith webhook-mailer at python.org
Mon May 18 03:56:55 EDT 2020


https://github.com/python/cpython/commit/58205a0217e91232cc1e945dbfe4e387d636eb76
commit: 58205a0217e91232cc1e945dbfe4e387d636eb76
branch: master
author: Nathaniel J. Smith <njs at pobox.com>
committer: GitHub <noreply at github.com>
date: 2020-05-18T00:56:47-07:00
summary:

bpo-39148: fixup to account for IPV6_ENABLED being moved (GH-20170)

files:
M Lib/test/test_asyncio/test_events.py

diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index 573df2d765887..0fb361884185e 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -1259,7 +1259,7 @@ def datagram_received(self, data, addr):
     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)
 



More information about the Python-checkins mailing list