bpo-10548: expectedFailure does not apply to fixtures
This commit is contained in:
parent
23831a7a90
commit
7aad06cefd
|
@ -594,8 +594,9 @@ The following decorators and exception implement test skipping and expected fail
|
||||||
.. decorator:: expectedFailure
|
.. decorator:: expectedFailure
|
||||||
|
|
||||||
Mark the test as an expected failure or error. If the test fails or errors
|
Mark the test as an expected failure or error. If the test fails or errors
|
||||||
it will be considered a success. If the test passes, it will be considered
|
in the test function itself (rather than in one of the :dfn:`test fixture`
|
||||||
a failure.
|
methods) then it will be considered a success. If the test passes, it will
|
||||||
|
be considered a failure.
|
||||||
|
|
||||||
.. exception:: SkipTest(reason)
|
.. exception:: SkipTest(reason)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue