Clarify expectedFailure in the unittest docs. (#10953)
This commit is contained in:
parent
42b1d6127b
commit
91f259b478
|
@ -585,8 +585,8 @@ The following decorators implement test skipping and expected failures:
|
||||||
|
|
||||||
.. decorator:: expectedFailure
|
.. decorator:: expectedFailure
|
||||||
|
|
||||||
Mark the test as an expected failure. If the test fails when run, the test
|
Mark the test as an expected failure. If the test fails it will be
|
||||||
is not counted as a failure.
|
considered a success. If the test passes, it will be considered a failure.
|
||||||
|
|
||||||
.. exception:: SkipTest(reason)
|
.. exception:: SkipTest(reason)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue