]> granicus.if.org Git - python/commitdiff
Clarify expectedFailure in the unittest docs. (#10953)
authorGregory P. Smith <greg@krypto.org>
Thu, 6 Dec 2018 20:56:24 +0000 (12:56 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Dec 2018 20:56:24 +0000 (12:56 -0800)
Doc/library/unittest.rst

index 8afbee642620be98ba632f29e84e46f89007d2a5..acf9b49548b3c47a1d940c1be1e56cdd8a25833c 100644 (file)
@@ -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)