commit:     bf79a26cde1356f29ef1a9ec243243e35f41c7b9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 17:25:36 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 17:25:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf79a26c

dev-python/virtualenv: Skip tests that fail without py2

Closes: https://bugs.gentoo.org/861257
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/virtualenv/virtualenv-20.16.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

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]'

Reply via email to