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

dev-python/invoke/invoke-1.1.0.ebuild

index 80bbd00caf23d269117feaa9eb60049f8e257599..59e4a80b9830f5d42bc66a8ae57ed53e1d122430 100644 (file)
@@ -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"
 }