commit:     3a7bf5f8d6f4517a4f07cb9a6d5fd776e6f9ccba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 18:36:49 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 19:00:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7bf5f8

dev-python/executing: Deselect test crashing on py3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/executing/executing-2.0.0.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dev-python/executing/executing-2.0.0.ebuild 
b/dev-python/executing/executing-2.0.0.ebuild
index 992a4b31cee4..a5e4ed0cc8c8 100644
--- a/dev-python/executing/executing-2.0.0.ebuild
+++ b/dev-python/executing/executing-2.0.0.ebuild
@@ -37,6 +37,16 @@ distutils_enable_tests pytest
 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
 
 python_test() {
+       local EPYTEST_DESELECT=()
+       case ${EPYTHON} in
+               python3.10)
+                       EPYTEST_DESELECT+=(
+                               # crashes with infinite recursion (?)
+                               
"tests/test_main.py::test_small_samples[1656dc52edd2385921104de7bb255ca369713f4b8c034ebeba5cf946058109bc.py]"
+                       )
+                       ;;
+       esac
+
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        epytest
 }

Reply via email to