dev-python/meson-python: Fix testing without matching impl on meson

Closes: https://bugs.gentoo.org/931937
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-16 19:03:14 +01:00
parent b6acd6fc03
commit ae763e6827

View File

@@ -56,6 +56,13 @@ src_test() {
python_test() {
unset NINJA
local EPYTEST_DESELECT=()
if ! has_version "dev-build/meson[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
tests/test_wheel.py::test_vendored_meson
)
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p pytest_mock
}