mirror of
https://github.com/python/cpython.git
synced 2026-05-12 23:49:15 -04:00
bpo-10548: expectedFailure does not apply to fixtures (#23201)
This commit is contained in:
@@ -597,8 +597,9 @@ The following decorators and exception implement test skipping and expected fail
|
||||
.. decorator:: expectedFailure
|
||||
|
||||
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
|
||||
a failure.
|
||||
in the test function itself (rather than in one of the :dfn:`test fixture`
|
||||
methods) then it will be considered a success. If the test passes, it will
|
||||
be considered a failure.
|
||||
|
||||
.. exception:: SkipTest(reason)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user