From 967ef409c26a533d8281f5045f92609eabd50da1 Mon Sep 17 00:00:00 2001 From: harsh-sethiya Date: Wed, 31 Dec 2025 14:31:44 +0530 Subject: [PATCH] docs: clarify mixed pass/fail colors in subtests output --- doc/en/how-to/subtests.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/en/how-to/subtests.rst b/doc/en/how-to/subtests.rst index 5a08dbc4769..0af15795a61 100644 --- a/doc/en/how-to/subtests.rst +++ b/doc/en/how-to/subtests.rst @@ -30,6 +30,10 @@ Each assertion failure or error is caught by the context manager and reported in $ pytest -q test_subtest.py uuuuuF [100%] + +#Note that in the output above, passing subtests are shown in green, while +failing subtests are shown in red. + ================================= FAILURES ================================= _______________________ test [custom message] (i=1) ________________________