pytest icon indicating copy to clipboard operation
pytest copied to clipboard

color of percentage on warning is green with `-v`

Open jakkdl opened this issue 10 months ago • 2 comments

The color of the percentage will differ depending on the outcome of a test, where it's green if passing, yellow if warning, and red if erroring. except on warning + -v, where the percentage will still be green. Presumably because PASSED is still green and treated as fully succesful. So maybe PASSED should also be yellow (if test has warnings), and/or replaced with WARNING

Image Image

noticed when messing around a bit with pygments-pytest

jakkdl avatar Feb 07 '25 12:02 jakkdl