bpo-10548: expectedFailure does not apply to fixtures (GH-23201) (#26044)

(cherry picked from commit 23ae2c3bac)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
This commit is contained in:
Miss Islington (bot) 2021-05-11 15:23:40 -07:00 committed by GitHub
parent 6fc6f4366d
commit 1e4ca09d82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)