Skip to content

Commit

Permalink
bpo-35545: Skip test_asyncio.test_create_connection_ipv6_scope on A…
Browse files Browse the repository at this point in the history
…IX (pythonGH-14011)

because "getaddrinfo()" behaves different on AIX





https://bugs.python.org/issue35545
  • Loading branch information
aixtools authored and miss-islington committed Jun 12, 2019
1 parent a6e190e commit 32dda26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/test_asyncio/test_base_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,8 @@ def _test_create_connection_ip_addr(self, m_socket, allow_inet_pton):
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
Expand Down

0 comments on commit 32dda26

Please sign in to comment.