commit:     cfdccf48a2b1651a903f67bae2fc91dc132b9ed3
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  1 00:48:54 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Wed Aug  1 12:09:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfdccf48

dev-python/invoke: explicitly load pytest-relaxed plugin

Bug: https://bugs.gentoo.org/661218
Package-Manager: Portage-2.3.44, Repoman-2.3.10

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

diff --git a/dev-python/invoke/invoke-1.1.0.ebuild 
b/dev-python/invoke/invoke-1.1.0.ebuild
index 80bbd00caf2..59e4a80b983 100644
--- a/dev-python/invoke/invoke-1.1.0.ebuild
+++ b/dev-python/invoke/invoke-1.1.0.ebuild
@@ -29,5 +29,6 @@ PATCHES=(
 
 python_test() {
        # -s flag is important: tests fail when pytest isn't in "no capture" 
mode
-       ${EPYTHON} -m pytest -s -v
+       # -p pytest_relaxed: this plugin has to be loaded explicitly
+       pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
 }

Reply via email to