From 29f8fad4c52445e4e02493803f79c194eab13141 Mon Sep 17 00:00:00 2001 From: fahadmunawar Date: Thu, 11 Dec 2025 19:14:00 -0500 Subject: [PATCH] Docs: clarify subtest output colors --- doc/en/how-to/subtests.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/en/how-to/subtests.rst b/doc/en/how-to/subtests.rst index 5a08dbc4769..16d378888f5 100644 --- a/doc/en/how-to/subtests.rst +++ b/doc/en/how-to/subtests.rst @@ -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>