Skip to content

Commit 5f0ae59

Browse files
aixtoolslisroach
authored andcommitted
bpo-35545: Skip test_asyncio.test_create_connection_ipv6_scope on AIX (pythonGH-14011)
because "getaddrinfo()" behaves different on AIX https://bugs.python.org/issue35545
1 parent f0ea0c8 commit 5f0ae59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_asyncio/test_base_events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,8 @@ def _test_create_connection_ip_addr(self, m_socket, allow_inet_pton):
12981298
t.close()
12991299
test_utils.run_briefly(self.loop) # allow transport to close
13001300

1301+
@unittest.skipIf(sys.platform.startswith('aix'),
1302+
"bpo-25545: IPv6 scope id and getaddrinfo() behave differently on AIX")
13011303
@patch_socket
13021304
def test_create_connection_ipv6_scope(self, m_socket):
13031305
m_socket.getaddrinfo = socket.getaddrinfo

0 commit comments

Comments
 (0)