mirror of
https://github.com/python/cpython.git
synced 2026-04-23 20:31:12 +00:00
Clarify expectedFailure in the unittest docs. (GH-10953)
(cherry picked from commit 91f259b478)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
This commit is contained in:
parent
6485aa6eb1
commit
f913d44eb7
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue