dev-python/pdm-backend: always skip mercurial tests

Bug: https://bugs.gentoo.org/928728
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Matoro Mahri
2024-06-10 01:27:18 -04:00
committed by Michał Górny
parent e36bf51525
commit a85c5458c0

View File

@@ -37,9 +37,6 @@ BDEPEND="
test? (
dev-python/setuptools[${PYTHON_USEDEP}]
dev-vcs/git
!s390? ( !sparc? (
dev-vcs/mercurial
) )
)
"
# setuptools are used to build C extensions
@@ -72,11 +69,6 @@ src_test() {
}
python_test() {
local args=()
if ! has_version dev-vcs/mercurial; then
args+=( -k "not [hg" )
fi
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest "${args[@]}"
epytest -k "not [hg"
}