summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-24 08:02:25 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-24 08:15:37 +0200
commit89c6cfd0b4c4cfe236dc432f6bb3e8b45544a6fd (patch)
tree6527c149afffc3f9dd7b874062674af481053a67 /dev-python/twine
parentdev-python/munch: Enable py3.11 (diff)
downloadgentoo-89c6cfd0b4c4cfe236dc432f6bb3e8b45544a6fd.tar.gz
gentoo-89c6cfd0b4c4cfe236dc432f6bb3e8b45544a6fd.tar.bz2
gentoo-89c6cfd0b4c4cfe236dc432f6bb3e8b45544a6fd.zip
dev-python/twine: Deselect failing test
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/twine')
-rw-r--r--dev-python/twine/twine-4.0.0.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/twine/twine-4.0.0.ebuild b/dev-python/twine/twine-4.0.0.ebuild
index 61e10a8a17e5..c8e882617c7b 100644
--- a/dev-python/twine/twine-4.0.0.ebuild
+++ b/dev-python/twine/twine-4.0.0.ebuild
@@ -48,8 +48,6 @@ BDEPEND="
distutils_enable_tests pytest
python_prepare_all() {
- # requires internet
- rm -f tests/test_integration.py || die
# pytest-socket dep relevant only to test_integration, and upstream
# disables it anyway
sed -i -e '/--disable-socket/d' pytest.ini || die
@@ -60,6 +58,15 @@ python_prepare_all() {
}
python_test() {
+ local EPYTEST_IGNORE=(
+ # Internet
+ tests/test_integration.py
+ )
+ local EPYTEST_DESELECT=(
+ # regression due to deps?
+ tests/test_check.py::test_fails_rst_no_content
+ )
+
local -x COLUMNS=80
epytest
}