dev-python/pip: Fix respecting PYTHON_TESTED

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-02-18 11:03:41 +01:00
parent 6eee4d3dcc
commit 603e17596a
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E

View File

@ -106,6 +106,11 @@ python_compile_all() {
}
python_test() {
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
einfo "Skipping tests on ${EPYTHON}"
return 0
fi
local EPYTEST_DESELECT=(
tests/functional/test_inspect.py::test_inspect_basic
# Internet