Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 11/11] python-utils-r1.eclass: Sterilize pytest-sugar plugin
Date: Fri, 29 Jul 2022 10:34:28
Message-Id: 20220729103103.1185162-12-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/11] distutils-r1.eclass: Support for gpep517-9+ --optimize + minor changes by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-utils-r1.eclass | 3 +++
4 1 file changed, 3 insertions(+)
5
6 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
7 index b793a1f13e0f..89013591c31b 100644
8 --- a/eclass/python-utils-r1.eclass
9 +++ b/eclass/python-utils-r1.eclass
10 @@ -1331,6 +1331,9 @@ epytest() {
11 # sterilize pytest-markdown as it runs code snippets from all
12 # *.md files found without any warning
13 -p no:markdown
14 + # pytest-sugar undoes everything that's good about pytest output
15 + # and makes it hard to read logs
16 + -p no:sugar
17 )
18 local x
19 for x in "${EPYTEST_DESELECT[@]}"; do
20 --
21 2.35.1