From: Michał Górny Date: Mon, 9 Mar 2020 17:51:55 +0000 (+0100) Subject: dev-python/urllib3: Skip tests requiring 'localhost.' resolvable X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d45e4bf50099e2165d4419acea67804068487a2;p=gentoo.git dev-python/urllib3: Skip tests requiring 'localhost.' resolvable Closes: https://bugs.gentoo.org/711920 Signed-off-by: Michał Górny --- diff --git a/dev-python/urllib3/urllib3-1.25.8.ebuild b/dev-python/urllib3/urllib3-1.25.8.ebuild index 66703bcc3a1f..3279a2e0cbe0 100644 --- a/dev-python/urllib3/urllib3-1.25.8.ebuild +++ b/dev-python/urllib3/urllib3-1.25.8.ebuild @@ -53,6 +53,11 @@ python_prepare_all() { -i test/with_dummyserver/test_https.py || die sed -e 's:test_https_proxy_.*timeout:_&:' \ -i test/with_dummyserver/test_proxy_poolmanager.py || die + # tests failing if 'localhost.' cannot be resolved + sed -e 's:test_dotted_fqdn:_&:' \ + -i test/with_dummyserver/test_https.py || die + sed -e 's:test_request_host_header_ignores_fqdn_dot:_&:' \ + -i test/with_dummyserver/test_socketlevel.py || die # no clue why those fail, might be tornado's fault, might be just # very flaky sed -e 's:test_client_no_intermediate:_&:' \