• [gentoo-dev] [PATCH 11/11] python-utils-r1.eclass: Sterilize pytest-sug

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Jul 29 12:40:02 2022
    Signed-off-by: Michał Górny <mgorny@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
    --
    2.35.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)