dev-python/pillow: fix incompatibility with pytest-relaxed
authorVirgil Dupras <vdupras@gentoo.org>
Tue, 31 Jul 2018 15:01:54 +0000 (11:01 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Tue, 31 Jul 2018 15:01:54 +0000 (11:01 -0400)
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

index 5d2590a0a8589da31795605fa64f26e7ea9ba9c7..b4f435d0425c812af84fdde53025077504117647 100644 (file)
@@ -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() {