Escape terminal escape sequences in output with test failures #5756
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: enhancement
new feature or API change, should be merged into features branch
Given t.py:
Running
pytest t.py
:The "1 skipped in" is colored there.
This also applies to
\r
etc.It is the reason for output like:
(https://travis-ci.org/pytest-dev/pytest/jobs/516821221#L784)
I think it would be good to escape special characters sequences here. Likely
\x1b
,\r
,\n
,\r
might be enough?The text was updated successfully, but these errors were encountered: