commit: c1ae1fccd1c767734d4c18e614a2e4f176381916
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 19:06:29 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 19:06:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ae1fcc
dev-python/exceptiongroup: Add deselects for pypy3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
b/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
index 4eef0bdb88f0..6c4d0bca4306 100644
--- a/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
+++ b/dev-python/exceptiongroup/exceptiongroup-1.2.2.ebuild
@@ -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
}