Pytest fails to output colorfully with the following log format string in pytest.ini
log_cli_format: %(asctime)s %(funcNamewithModule)-40.40s L%(lineno)-.4d %(levelname)-5.5s| %(message)s
This is due to ColoredLevelFormatter.LEVELNAME_FMT_REGEX fails to match the format string due to the presence of precision bit.
Pytest fails to output colorfully with the following log format string in
pytest.iniThis is due to
ColoredLevelFormatter.LEVELNAME_FMT_REGEXfails to match the format string due to the presence of precision bit.