pytest
pytest copied to clipboard
Documentation shows incorrect pytest output color for subtests
Location: https://docs.pytest.org/en/stable/how-to/subtests.html#subtests The documentation shows:
$ pytest -q test_subtest.py
uuuuuF [100%]
where all the u characters are green (passing).
Actual behavior: Running the example produces mixed results - some u are green (passed subtests) and some are red (failed subtests).
The documentation should reflect the mixed pass/fail colors.
(it might be an issue in the code-block:: pytest style)
Also, we might want to use different characters for passing vs failing subtests to support non-color terminal outputs