summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-28 10:22:09 +0200
committerMichał Górny <mgorny@gentoo.org>2022-08-02 06:07:11 +0200
commit56b2e99542512e4fa17c5531d5b6432cc9080e74 (patch)
treed6f136e6156b31d092abb4bd7b72258d453284cd /eclass
parentdev-python/pygobject: Call python_optimize explicitly (diff)
downloadgentoo-56b2e99542512e4fa17c5531d5b6432cc9080e74.tar.gz
gentoo-56b2e99542512e4fa17c5531d5b6432cc9080e74.tar.bz2
gentoo-56b2e99542512e4fa17c5531d5b6432cc9080e74.zip
python-utils-r1.eclass: Sterilize pytest-sugar plugin
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-utils-r1.eclass3
1 files changed, 3 insertions, 0 deletions
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