summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-21 16:08:47 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-02 00:22:30 +0200
commit0b626a998ce0206c5fd9b252aa1b82cd33c75fb5 (patch)
treed8cabc079b0e716ac55d4838801b76efc7e26bba /dev-python/tox
parentdev-python/werkzeug: Reuse dift --via-venv (diff)
downloadgentoo-0b626a998ce0206c5fd9b252aa1b82cd33c75fb5.tar.gz
gentoo-0b626a998ce0206c5fd9b252aa1b82cd33c75fb5.tar.bz2
gentoo-0b626a998ce0206c5fd9b252aa1b82cd33c75fb5.zip
dev-python/tox: Use dift --via-venv to unbreak two tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/tox-3.23.1.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/tox/tox-3.23.1.ebuild b/dev-python/tox/tox-3.23.1.ebuild
index 195d37f7ec9d..44a1cb28a248 100644
--- a/dev-python/tox/tox-3.23.1.ebuild
+++ b/dev-python/tox/tox-3.23.1.ebuild
@@ -53,11 +53,6 @@ python_test() {
# expects python2 to exist
tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable
-
- # broken without tox installed first
- # TODO: figure out how to make importlib_metadata work
- tests/unit/test_z_cmdline.py::test_tox_console_script
- tests/unit/test_z_cmdline.py::test_tox_quickstart_script
)
[[ ${EPYTHON} != pypy3 ]] && deselect+=(
@@ -69,6 +64,6 @@ python_test() {
tests/integration/test_parallel_interrupt.py::test_parallel_interrupt
)
- distutils_install_for_testing --via-root
+ distutils_install_for_testing --via-venv
epytest --no-network ${deselect[@]/#/--deselect }
}