Changeset 2022:d8fc41786c69


Ignore:
Timestamp:
Jan 6, 2021, 5:16:47 PM (11 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Don't use color output when running under tox

In the Sourcehut build system, Pytest color output leads to a messy
log with ANSI color codes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tox.ini

    r2018 r2022  
    1313
    1414[testenv]
    15 commands = python -m pytest test
     15# Avoid color to keep Sourcehut build log readable.
     16commands = python -m pytest --color=no test
    1617deps =
    1718    pytest
Note: See TracChangeset for help on using the changeset viewer.