commit:     56b2e99542512e4fa17c5531d5b6432cc9080e74
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 08:22:09 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 04:07:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b2e995

python-utils-r1.eclass: Sterilize pytest-sugar plugin

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/python-utils-r1.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index b793a1f13e0f..89013591c31b 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1331,6 +1331,9 @@ epytest() {
                # sterilize pytest-markdown as it runs code snippets from all
                # *.md files found without any warning
                -p no:markdown
+               # pytest-sugar undoes everything that's good about pytest output
+               # and makes it hard to read logs
+               -p no:sugar
        )
        local x
        for x in "${EPYTEST_DESELECT[@]}"; do

Reply via email to