Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 02 Aug 2022 04:08:55
Message-Id: 1659413231.56b2e99542512e4fa17c5531d5b6432cc9080e74.mgorny@gentoo
1 commit: 56b2e99542512e4fa17c5531d5b6432cc9080e74
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 28 08:22:09 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 2 04:07:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b2e995
7
8 python-utils-r1.eclass: Sterilize pytest-sugar plugin
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/python-utils-r1.eclass | 3 +++
13 1 file changed, 3 insertions(+)
14
15 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
16 index b793a1f13e0f..89013591c31b 100644
17 --- a/eclass/python-utils-r1.eclass
18 +++ b/eclass/python-utils-r1.eclass
19 @@ -1331,6 +1331,9 @@ epytest() {
20 # sterilize pytest-markdown as it runs code snippets from all
21 # *.md files found without any warning
22 -p no:markdown
23 + # pytest-sugar undoes everything that's good about pytest output
24 + # and makes it hard to read logs
25 + -p no:sugar
26 )
27 local x
28 for x in "${EPYTEST_DESELECT[@]}"; do