diff options
author | Gregory P. Smith <greg@krypto.org> | 2018-12-06 20:56:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 20:56:24 (GMT) |
commit | 91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f (patch) | |
tree | 8eb00547eb01c954c32f9fc13990e83aa95318a1 /Doc/library/unittest.rst | |
parent | 42b1d6127bd8595522a78a75166ebb9fba74a6a2 (diff) | |
download | cpython-91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f.zip cpython-91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f.tar.gz cpython-91f259b478ae8bfb4c73e5b5a767e4bf0ee9257f.tar.bz2 |
Clarify expectedFailure in the unittest docs. (#10953)
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r-- | Doc/library/unittest.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 8afbee6..acf9b495 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) |