From 2c34c3402bb20be0fbb58513da479b431ecc7320 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Jul 2026 03:04:45 -0500 Subject: Adding metadata --- dev-python/parso/parso-0.8.7.ebuild | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'dev-python/parso') diff --git a/dev-python/parso/parso-0.8.7.ebuild b/dev-python/parso/parso-0.8.7.ebuild index bbb9021820bd..22d476196605 100644 --- a/dev-python/parso/parso-0.8.7.ebuild +++ b/dev-python/parso/parso-0.8.7.ebuild @@ -27,3 +27,22 @@ distutils_enable_sphinx docs EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.15*) + EPYTEST_DESELECT+=( + # minor exception message mismatch + 'test/test_python_errors.py::test_python_exception_matches[def f(x, x): pass]' + 'test/test_python_errors.py::test_python_exception_matches[def x(*): pass]' + # now valid in py3.15 + 'test/test_python_errors.py::test_python_exception_matches[[*[] for a in [1]]]' + 'test/test_python_errors.py::test_python_exception_matches[{**{} for a in [1]}]' + ) + ;; + esac + + epytest +} -- cgit v1.3