-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
pytest
has somewhat recently added support for coloring diffs of builtin structures like list
or dict
, which makes ANSI escape sequences appear in the messages pytest-reportlog
writes to the log file.
Since that log file is intended to be machine-readable, I think reportlog
should either strip the escape sequences from error messages, or pytest
should add colors after the execution of the hook that reportlog
registers to. I'd guess the former to be more realistic since I'd expect modifying pytest
to that effect to be really tricky.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed