From: Michael Felt Date: Wed, 12 Jun 2019 12:00:56 +0000 (+0200) Subject: bpo-35545: Skip `test_asyncio.test_create_connection_ipv6_scope` on AIX (GH-14011) X-Git-Tag: v3.9.0a1~1316 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32dda263e4e8c8e0fadc2bb29b9856e2f177dde9;p=thirdparty%2FPython%2Fcpython.git bpo-35545: Skip `test_asyncio.test_create_connection_ipv6_scope` on AIX (GH-14011) because "getaddrinfo()" behaves different on AIX https://bugs.python.org/issue35545 --- diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index 02a97c60ac1a..811b37425dd2 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -1298,6 +1298,8 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase): t.close() test_utils.run_briefly(self.loop) # allow transport to close + @unittest.skipIf(sys.platform.startswith('aix'), + "bpo-25545: IPv6 scope id and getaddrinfo() behave differently on AIX") @patch_socket def test_create_connection_ipv6_scope(self, m_socket): m_socket.getaddrinfo = socket.getaddrinfo