dev-python/fabric: load pytest-relaxed plugin explicitly
authorVirgil Dupras <vdupras@gentoo.org>
Wed, 1 Aug 2018 00:50:07 +0000 (20:50 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Wed, 1 Aug 2018 12:09:59 +0000 (08:09 -0400)
Bug: https://bugs.gentoo.org/661218
Package-Manager: Portage-2.3.44, Repoman-2.3.10

dev-python/fabric/fabric-2.2.1.ebuild

index dddf7851f843914688c524ec1289f8591230a80a..00240b6a9c1297409c5d38e9168a9a18e92ee222 100644 (file)
@@ -52,7 +52,8 @@ python_compile_all() {
 }
 
 python_test() {
-       ${EPYTHON} -m pytest -s -v || die "Tests failed"
+       # -p pytest_relaxed: this plugin has to be loaded explicitly
+       pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
 }
 
 python_install_all() {