commit: e69335fd8a25ba14e32aa8c9722ad31607156e41 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> AuthorDate: Wed Mar 24 22:20:38 2021 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Wed Mar 24 22:20:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69335fd
dev-python/pycurl-requests: Fix tests (bug #777951) Closes: https://bugs.gentoo.org/777951 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> .../pycurl-requests/files/pycurl-requests-0.2.0-test.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch b/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch index 47869defd5e..2bed5e3c93c 100644 --- a/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch +++ b/dev-python/pycurl-requests/files/pycurl-requests-0.2.0-test.patch @@ -1,3 +1,16 @@ +diff --git a/pycurl_requests/tests/test_exceptions.py b/pycurl_requests/tests/test_exceptions.py +index 2415ba8..6960615 100644 +--- a/pycurl_requests/tests/test_exceptions.py ++++ b/pycurl_requests/tests/test_exceptions.py +@@ -32,7 +32,7 @@ def test_connecterror_resolve(): + if IS_PYCURL_REQUESTS: + assert isinstance(exception.__cause__, pycurl.error) + assert exception.curl_code == pycurl.E_COULDNT_RESOLVE_HOST +- assert 'Could not resolve host' in exception.curl_message ++ assert 't resolve host' in exception.curl_message + + + def test_toomanyredirects(http_server): diff --git a/pycurl_requests/tests/test_requests.py b/pycurl_requests/tests/test_requests.py index 7d2c627..850d530 100644 --- a/pycurl_requests/tests/test_requests.py