summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-12 12:20:12 (GMT)
committerGitHub <noreply@github.com>2019-06-12 12:20:12 (GMT)
commit70a4178ec47154fdcc3ff06c13149e178d014581 (patch)
tree8d8dbcf07879943a009a1a940042ac8ee5d54111 /Lib/test/test_asyncio
parent669e07be4861ebb69f2ed1c62dd2f2c83402bc09 (diff)
downloadcpython-70a4178ec47154fdcc3ff06c13149e178d014581.zip
cpython-70a4178ec47154fdcc3ff06c13149e178d014581.tar.gz
cpython-70a4178ec47154fdcc3ff06c13149e178d014581.tar.bz2
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 (cherry picked from commit 32dda263e4e8c8e0fadc2bb29b9856e2f177dde9) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index 02a97c6..811b374 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