commit:     26b53a37ef3782e46354355ecdcbcdc1b59ddc3d
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 31 15:01:54 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Tue Jul 31 15:01:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b53a37

dev-python/pillow: fix incompatibility with pytest-relaxed

When installed, pytest-relaxed would make our tests fail. Disable it.

Package-Manager: Portage-2.3.44, Repoman-2.3.10

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

diff --git a/dev-python/pillow/pillow-5.2.0.ebuild 
b/dev-python/pillow/pillow-5.2.0.ebuild
index 5d2590a0a85..b4f435d0425 100644
--- a/dev-python/pillow/pillow-5.2.0.ebuild
+++ b/dev-python/pillow/pillow-5.2.0.ebuild
@@ -83,7 +83,8 @@ python_compile_all() {
 
 python_test() {
        "${PYTHON}" selftest.py --installed || die "selftest failed with 
${EPYTHON}"
-       virtx pytest -vx Tests/test_*.py
+       # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if 
installed
+       virtx pytest -vx Tests/test_*.py -p no:relaxed
 }
 
 python_install() {

Reply via email to