1 |
commit: a83fab602b4e4c4eeca308832252bcaa80cb1f38 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 06:25:00 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 06:25:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83fab60 |
7 |
|
8 |
dev-python/isort: fix tests in 5.6.3 too |
9 |
|
10 |
Fixed tests in 5.7.0 only to find they were |
11 |
failing in 5.6.3 too. Thanks to sbraz |
12 |
for diagnosing it already too. |
13 |
|
14 |
Thanks-to: Louis Sautier <sbraz <AT> gentoo.org> |
15 |
Closes: https://bugs.gentoo.org/757369 |
16 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
17 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
18 |
|
19 |
dev-python/isort/isort-5.6.3.ebuild | 3 ++- |
20 |
1 file changed, 2 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/dev-python/isort/isort-5.6.3.ebuild b/dev-python/isort/isort-5.6.3.ebuild |
23 |
index 87d950a5c14..11aeab525f2 100644 |
24 |
--- a/dev-python/isort/isort-5.6.3.ebuild |
25 |
+++ b/dev-python/isort/isort-5.6.3.ebuild |
26 |
@@ -31,7 +31,8 @@ distutils_enable_tests pytest |
27 |
|
28 |
python_test() { |
29 |
# Some tests run the "isort" command |
30 |
- distutils_install_for_testing |
31 |
+ distutils_install_for_testing --via-root |
32 |
+ |
33 |
local skipped_tests=( |
34 |
# Fails without -s, run it separately to avoid unnecessary output |
35 |
tests/unit/test_importable.py |