dev-python/sh: Run tests via pytest

Closes: https://bugs.gentoo.org/979404
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-17 13:29:34 +02:00
parent be032b0232
commit 51277ccdd1

View File

@@ -19,9 +19,10 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
distutils_enable_tests unittest
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
local -x SH_TESTS_RUNNING=1
eunittest -p "*_test.py"
epytest
}