From 726290e18632d211e662e41025057290cdf368b5 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith [Google LLC]" Date: Wed, 5 Dec 2018 13:10:07 -0800 Subject: [PATCH] Clarify expectedFailure in the unittest docs. --- Doc/library/unittest.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 8afbee642620be9..acf9b49548b3c47 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -585,8 +585,8 @@ The following decorators implement test skipping and expected failures: .. decorator:: expectedFailure - Mark the test as an expected failure. If the test fails when run, the test - is not counted as a failure. + Mark the test as an expected failure. If the test fails it will be + considered a success. If the test passes, it will be considered a failure. .. exception:: SkipTest(reason)