From ceb441ba7fd17db4fa7c9704448ebe73ab1fc383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 28 May 2024 09:50:19 +0200 Subject: [PATCH] dev-python/typeguard: Fix ignoring mypy tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/932865 Signed-off-by: Michał Górny --- 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 33595e45784b4..4146a24d8dcab 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