summaryrefslogtreecommitdiff
path: root/dev-python/annotated-types
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/annotated-types')
-rw-r--r--dev-python/annotated-types/annotated-types-0.7.0.ebuild24
1 files changed, 2 insertions, 22 deletions
diff --git a/dev-python/annotated-types/annotated-types-0.7.0.ebuild b/dev-python/annotated-types/annotated-types-0.7.0.ebuild
index 67b9740ea408..2403c2c2f037 100644
--- a/dev-python/annotated-types/annotated-types-0.7.0.ebuild
+++ b/dev-python/annotated-types/annotated-types-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,25 +18,5 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-BDEPEND="
- test? (
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- )
-"
-
+EPYTEST_PLUGINS=( pytest-mock )
distutils_enable_tests pytest
-
-python_test() {
- local EPYTEST_DESELECT=()
-
- case ${EPYTHON} in
- pypy3*)
- EPYTEST_DESELECT+=(
- # https://github.com/annotated-types/annotated-types/issues/71
- 'tests/test_main.py::test_predicate_repr[pred2-Predicate(math.isfinite)]'
- )
- ;;
- esac
-
- epytest
-}