8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2eb87 commit 23ae2c3Copy full SHA for 23ae2c3
Doc/library/unittest.rst
@@ -597,8 +597,9 @@ The following decorators and exception implement test skipping and expected fail
597
.. decorator:: expectedFailure
598
599
Mark the test as an expected failure or error. If the test fails or errors
600
- it will be considered a success. If the test passes, it will be considered
601
- 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
602
+ be considered a failure.
603
604
.. exception:: SkipTest(reason)
605
0 commit comments