From: Gregory P. Smith Date: Thu, 6 Dec 2018 20:56:24 +0000 (-0800) Subject: Clarify expectedFailure in the unittest docs. (#10953) X-Git-Tag: v3.8.0a1~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f;p=thirdparty%2FPython%2Fcpython.git Clarify expectedFailure in the unittest docs. (#10953) --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 8afbee642620..acf9b49548b3 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)