diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-11-28 08:13:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-11-28 08:13:27 +0100 |
commit | 26e53728438be31f8c9621315bd0b0e2f810f72d (patch) | |
tree | dba678fafcdd20cfb88cfd9c0ddc20cea4a8c2b3 /dev-python/requests | |
parent | dev-python/requests: Update to upstream-approved patch (diff) | |
download | gentoo-26e53728438be31f8c9621315bd0b0e2f810f72d.tar.gz gentoo-26e53728438be31f8c9621315bd0b0e2f810f72d.tar.bz2 gentoo-26e53728438be31f8c9621315bd0b0e2f810f72d.zip |
dev-python/requests: Update network skips
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/requests')
-rw-r--r-- | dev-python/requests/requests-2.26.0.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-python/requests/requests-2.26.0.ebuild b/dev-python/requests/requests-2.26.0.ebuild index d30d1f190284..90381eff31ef 100644 --- a/dev-python/requests/requests-2.26.0.ebuild +++ b/dev-python/requests/requests-2.26.0.ebuild @@ -44,17 +44,23 @@ PATCHES=( python_test() { local EPYTEST_DESELECT=( - # Internet + # Internet (doctests) requests/__init__.py::requests requests/api.py::requests.api.request requests/models.py::requests.models.PreparedRequest requests/sessions.py::requests.sessions.Session - tests/test_requests.py::TestRequests::test_https_warnings + # require IPv4 interface in 10.* range tests/test_requests.py::TestTimeout::test_connect_timeout tests/test_requests.py::TestTimeout::test_total_timeout_connect # TODO: openssl? tests/test_requests.py::TestRequests::test_pyopenssl_redirect ) + if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_requests.py::TestRequests::test_https_warnings + ) + fi + epytest } |