commit:     a83fab602b4e4c4eeca308832252bcaa80cb1f38
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 31 06:25:00 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 06:25:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83fab60

dev-python/isort: fix tests in 5.6.3 too

Fixed tests in 5.7.0 only to find they were
failing in 5.6.3 too. Thanks to sbraz
for diagnosing it already too.

Thanks-to: Louis Sautier <sbraz <AT> gentoo.org>
Closes: https://bugs.gentoo.org/757369
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/isort/isort-5.6.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/isort/isort-5.6.3.ebuild 
b/dev-python/isort/isort-5.6.3.ebuild
index 87d950a5c14..11aeab525f2 100644
--- a/dev-python/isort/isort-5.6.3.ebuild
+++ b/dev-python/isort/isort-5.6.3.ebuild
@@ -31,7 +31,8 @@ distutils_enable_tests pytest
 
 python_test() {
        # Some tests run the "isort" command
-       distutils_install_for_testing
+       distutils_install_for_testing --via-root
+
        local skipped_tests=(
                # Fails without -s, run it separately to avoid unnecessary 
output
                tests/unit/test_importable.py

Reply via email to