mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
This commit is contained in:
parent
a6e190e94b
commit
32dda263e4
1 changed files with 2 additions and 0 deletions
|
@ -1298,6 +1298,8 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase):
|
||||||
t.close()
|
t.close()
|
||||||
test_utils.run_briefly(self.loop) # allow transport to 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
|
@patch_socket
|
||||||
def test_create_connection_ipv6_scope(self, m_socket):
|
def test_create_connection_ipv6_scope(self, m_socket):
|
||||||
m_socket.getaddrinfo = socket.getaddrinfo
|
m_socket.getaddrinfo = socket.getaddrinfo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue