mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user