Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions doc/en/how-to/subtests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ Each assertion failure or error is caught by the context manager and reported in
.. code-block:: pytest

$ pytest -q test_subtest.py
uuuuuF [100%]
================================= FAILURES =================================
uuUuUF [100%]

Note that passed subtests are shown in green while failed subtests are shown in red when color output is enabled.

================================= FAILURES =================================
_______________________ test [custom message] (i=1) ________________________

subtests = <_pytest.subtests.Subtests object at 0xdeadbeef0001>
Expand Down