summaryrefslogtreecommitdiff
path: root/dev-python/executing/executing-2.2.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/executing/executing-2.2.0.ebuild')
-rw-r--r--dev-python/executing/executing-2.2.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/executing/executing-2.2.0.ebuild b/dev-python/executing/executing-2.2.0.ebuild
index 6c4575ce7448..3b4198b84d5f 100644
--- a/dev-python/executing/executing-2.2.0.ebuild
+++ b/dev-python/executing/executing-2.2.0.ebuild
@@ -4,6 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 )
PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
inherit distutils-r1 optfeature
@@ -36,6 +37,11 @@ distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
python_test() {
+ if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+ einfo "Skipping tests on ${EPYTHON}"
+ return
+ fi
+
local EPYTEST_DESELECT=()
case ${EPYTHON} in
pypy3)