commit: ceb441ba7fd17db4fa7c9704448ebe73ab1fc383 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue May 28 07:50:19 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue May 28 09:40:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb441ba
dev-python/typeguard: Fix ignoring mypy tests Closes: https://bugs.gentoo.org/932865 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/typeguard/typeguard-4.3.0.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/typeguard/typeguard-4.3.0.ebuild b/dev-python/typeguard/typeguard-4.3.0.ebuild index 33595e45784b..4146a24d8dca 100644 --- a/dev-python/typeguard/typeguard-4.3.0.ebuild +++ b/dev-python/typeguard/typeguard-4.3.0.ebuild @@ -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
