summaryrefslogtreecommitdiff
path: root/dev-python/exceptiongroup
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/exceptiongroup')
-rw-r--r--dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
index a8b5cf3a090e..da4d4217e5d2 100644
--- a/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
+++ b/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,6 +21,19 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390
distutils_enable_tests pytest
python_test() {
+ local EPYTEST_DESELECT=()
+
+ case ${EPYTHON} in
+ pypy3.11)
+ # exception message mismatch
+ # https://github.com/agronholm/exceptiongroup/issues/141
+ EPYTEST_DESELECT+=(
+ tests/test_exceptions.py::BadConstructorArgs::test_bad_EG_construction__too_few_args
+ tests/test_exceptions.py::BadConstructorArgs::test_bad_EG_construction__too_many_args
+ )
+ ;;
+ esac
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}