dev-python/pyftpdlib: don't load the relaxed pytest plugin
authorLouis Sautier <sbraz@gentoo.org>
Sat, 14 Jul 2018 14:47:42 +0000 (16:47 +0200)
committerLouis Sautier <sbraz@gentoo.org>
Sat, 14 Jul 2018 14:47:42 +0000 (16:47 +0200)
Closes: https://bugs.gentoo.org/661082
Package-Manager: Portage-2.3.42, Repoman-2.3.9

dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild

index 119b0c25534ce1aec12c6635bd136c9fecd4ee52..42917afc6ff8f670297926240ace625bd711ddc1 100644 (file)
@@ -64,8 +64,9 @@ python_test() {
                test_nlst
        )
        skipped_tests=${skipped_tests[@]/%/ or}
+       # Don't load the relaxed plugin, see https://bugs.gentoo.org/661082
        py.test --ignore ${PN}/test/test_misc.py -k "not (${skipped_tests% or})" \
-               || die "Tests failed with ${EPYTHON}"
+               -p no:relaxed || die "Tests failed with ${EPYTHON}"
 }
 
 python_install_all() {