Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/invoke/
Date: Wed, 01 Aug 2018 12:11:08
Message-Id: 1533125398.cfdccf48a2b1651a903f67bae2fc91dc132b9ed3.vdupras@gentoo
1 commit: cfdccf48a2b1651a903f67bae2fc91dc132b9ed3
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 1 00:48:54 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 1 12:09:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfdccf48
7
8 dev-python/invoke: explicitly load pytest-relaxed plugin
9
10 Bug: https://bugs.gentoo.org/661218
11 Package-Manager: Portage-2.3.44, Repoman-2.3.10
12
13 dev-python/invoke/invoke-1.1.0.ebuild | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/invoke/invoke-1.1.0.ebuild b/dev-python/invoke/invoke-1.1.0.ebuild
17 index 80bbd00caf2..59e4a80b983 100644
18 --- a/dev-python/invoke/invoke-1.1.0.ebuild
19 +++ b/dev-python/invoke/invoke-1.1.0.ebuild
20 @@ -29,5 +29,6 @@ PATCHES=(
21
22 python_test() {
23 # -s flag is important: tests fail when pytest isn't in "no capture" mode
24 - ${EPYTHON} -m pytest -s -v
25 + # -p pytest_relaxed: this plugin has to be loaded explicitly
26 + pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
27 }