commit: fd45c6cfbd4205563bb19e710cf5963423c65270 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Aug 19 10:42:11 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Aug 19 10:48:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd45c6cf
dev-python/clikit: Fix test failures Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/clikit/clikit-0.6.2.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/dev-python/clikit/clikit-0.6.2.ebuild b/dev-python/clikit/clikit-0.6.2.ebuild index 8bb676a6f1ba..200eb8b1216e 100644 --- a/dev-python/clikit/clikit-0.6.2.ebuild +++ b/dev-python/clikit/clikit-0.6.2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Group of utilities to build beautiful and testable command line interfaces" @@ -27,9 +27,11 @@ BDEPEND=" distutils_enable_tests pytest -python_prepare_all() { - # skip failing test - rm tests/utils/test_terminal.py || die - - distutils-r1_python_prepare_all +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # skip failing test + tests/utils/test_terminal.py + ) + epytest }