1 |
commit: 7d45e4bf50099e2165d4419acea67804068487a2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 9 17:51:55 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 9 17:52:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d45e4bf |
7 |
|
8 |
dev-python/urllib3: Skip tests requiring 'localhost.' resolvable |
9 |
|
10 |
Closes: https://bugs.gentoo.org/711920 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/urllib3/urllib3-1.25.8.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/urllib3/urllib3-1.25.8.ebuild b/dev-python/urllib3/urllib3-1.25.8.ebuild |
17 |
index 66703bcc3a1..3279a2e0cbe 100644 |
18 |
--- a/dev-python/urllib3/urllib3-1.25.8.ebuild |
19 |
+++ b/dev-python/urllib3/urllib3-1.25.8.ebuild |
20 |
@@ -53,6 +53,11 @@ python_prepare_all() { |
21 |
-i test/with_dummyserver/test_https.py || die |
22 |
sed -e 's:test_https_proxy_.*timeout:_&:' \ |
23 |
-i test/with_dummyserver/test_proxy_poolmanager.py || die |
24 |
+ # tests failing if 'localhost.' cannot be resolved |
25 |
+ sed -e 's:test_dotted_fqdn:_&:' \ |
26 |
+ -i test/with_dummyserver/test_https.py || die |
27 |
+ sed -e 's:test_request_host_header_ignores_fqdn_dot:_&:' \ |
28 |
+ -i test/with_dummyserver/test_socketlevel.py || die |
29 |
# no clue why those fail, might be tornado's fault, might be just |
30 |
# very flaky |
31 |
sed -e 's:test_client_no_intermediate:_&:' \ |