1 |
commit: 0b626a998ce0206c5fd9b252aa1b82cd33c75fb5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 21 14:08:47 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 22:22:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b626a99 |
7 |
|
8 |
dev-python/tox: Use dift --via-venv to unbreak two tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tox/tox-3.23.1.ebuild | 7 +------ |
13 |
1 file changed, 1 insertion(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/tox/tox-3.23.1.ebuild b/dev-python/tox/tox-3.23.1.ebuild |
16 |
index 195d37f7ec9..44a1cb28a24 100644 |
17 |
--- a/dev-python/tox/tox-3.23.1.ebuild |
18 |
+++ b/dev-python/tox/tox-3.23.1.ebuild |
19 |
@@ -53,11 +53,6 @@ python_test() { |
20 |
|
21 |
# expects python2 to exist |
22 |
tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable |
23 |
- |
24 |
- # broken without tox installed first |
25 |
- # TODO: figure out how to make importlib_metadata work |
26 |
- tests/unit/test_z_cmdline.py::test_tox_console_script |
27 |
- tests/unit/test_z_cmdline.py::test_tox_quickstart_script |
28 |
) |
29 |
|
30 |
[[ ${EPYTHON} != pypy3 ]] && deselect+=( |
31 |
@@ -69,6 +64,6 @@ python_test() { |
32 |
tests/integration/test_parallel_interrupt.py::test_parallel_interrupt |
33 |
) |
34 |
|
35 |
- distutils_install_for_testing --via-root |
36 |
+ distutils_install_for_testing --via-venv |
37 |
epytest --no-network ${deselect[@]/#/--deselect } |
38 |
} |