summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-26 19:25:36 +0200
committerMichał Górny <mgorny@gentoo.org>2022-07-26 19:25:36 +0200
commitbf79a26cde1356f29ef1a9ec243243e35f41c7b9 (patch)
tree2a99a7dc705573351b412795e59c29364b82b16a
parentgui-apps/nm-tray: remove unused patch(es) (diff)
downloadgentoo-bf79a26cde1356f29ef1a9ec243243e35f41c7b9.tar.gz
gentoo-bf79a26cde1356f29ef1a9ec243243e35f41c7b9.tar.bz2
gentoo-bf79a26cde1356f29ef1a9ec243243e35f41c7b9.zip
dev-python/virtualenv: Skip tests that fail without py2
Closes: https://bugs.gentoo.org/861257 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/virtualenv/virtualenv-20.16.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/virtualenv/virtualenv-20.16.0.ebuild b/dev-python/virtualenv/virtualenv-20.16.0.ebuild
index f5652cdcd1be..8018e0d0a409 100644
--- a/dev-python/virtualenv/virtualenv-20.16.0.ebuild
+++ b/dev-python/virtualenv/virtualenv-20.16.0.ebuild
@@ -59,6 +59,9 @@ python_test() {
tests/unit/activation/test_xonsh.py
tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data
tests/unit/create/test_creator.py::test_cross_major
+ # tests failing without python2 installed
+ "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]"
+ "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]"
)
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]'