Skip to content

Commit 989c2c0

Browse files
committed
Now that I enabled c-ares tests on all Linux builds, there is one getaddrinfo test in 3.12 that has to be disabled; ares doesn't like that syntax.
1 parent a0b3caf commit 989c2c0

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/gevent/resolver/ares.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ class Resolver(AbstractResolver):
9494
- ``getaddrinfo`` may return canonical names even without the ``AI_CANONNAME``
9595
being set.
9696
97+
- ``getaddrinfo`` does not appear to support IPv6 symbolic scope IDs.
98+
9799
.. caution::
98100
99101
This module is considered extremely experimental on PyPy, and

src/gevent/testing/patched_tests_setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,12 @@ def test(*args, **kwargs):
12981298
'test_ssl.TestPreHandshakeClose.test_preauth_data_to_tls_server',
12991299
]
13001300

1301+
if ARES:
1302+
disabled_tests += [
1303+
# c-ares doesn't like the IPv6 syntax it uses here.
1304+
'test_socket.GeneralModuleTeststest_getaddrinfo_ipv6_scopeid_symbolic',
1305+
]
1306+
13011307
if TRAVIS:
13021308
disabled_tests += [
13031309
# These tests frequently break when we try to use newer Travis CI images,

0 commit comments

Comments
 (0)