commit: 89c6cfd0b4c4cfe236dc432f6bb3e8b45544a6fd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 06:02:25 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 24 06:15:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c6cfd0
dev-python/twine: Deselect failing test
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/twine/twine-4.0.0.ebuild | 11 +++++++++--
1 file 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
}