diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-08-19 12:42:11 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-08-19 12:48:52 +0200 |
commit | fd45c6cfbd4205563bb19e710cf5963423c65270 (patch) | |
tree | 0bd87774001f40982a7d99b214c834183959aa1c /dev-python/clikit | |
parent | dev-python/pastel: Add python@ as co-maint. (diff) | |
download | gentoo-fd45c6cfbd4205563bb19e710cf5963423c65270.tar.gz gentoo-fd45c6cfbd4205563bb19e710cf5963423c65270.tar.bz2 gentoo-fd45c6cfbd4205563bb19e710cf5963423c65270.zip |
dev-python/clikit: Fix test failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/clikit')
-rw-r--r-- | dev-python/clikit/clikit-0.6.2.ebuild | 14 |
1 files 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 } |