Captured logs that are output for each failing test are formatted using the ColoredLevelFromatter. As a consequence caplog.text contains the ANSI escape sequences used for coloring the level names now.
Captured logs that are output for each failing test are formatted using the ColoredLevelFromatter. As a consequence caplog.text contains the ANSI escape sequences used for coloring the level names now.