]> granicus.if.org Git - python/commitdiff
bpo-35545: Skip `test_asyncio.test_create_connection_ipv6_scope` on AIX (GH-14011)
authorMichael Felt <aixtools@users.noreply.github.com>
Wed, 12 Jun 2019 12:00:56 +0000 (14:00 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Jun 2019 12:00:56 +0000 (05:00 -0700)
because "getaddrinfo()" behaves different on AIX

https://bugs.python.org/issue35545

Lib/test/test_asyncio/test_base_events.py

index 02a97c60ac1a93fc4ca5afd227a9a79c77daf1bc..811b37425dd2877b3e13056e595875da240db6e6 100644 (file)
@@ -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