dev-python/typeguard: Fix ignoring mypy tests

Closes: https://bugs.gentoo.org/932865
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-05-28 09:50:19 +02:00
parent cd9beeb000
commit ceb441ba7f

View File

@@ -28,10 +28,9 @@ BDEPEND="
distutils_enable_tests pytest
python_test() {
local EPYTEST_IGNORE=(
# mypy changes results from version to version
tests/mypy
)
# mypy changes results from version to version
# (we can't use EPYTEST_IGNORE because pytest_ignore_collect breaks it)
rm -rf tests/mypy || die
local -x PYTHONDONTWRITEBYTECODE=
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1