PyDocs

Nav

Development Tools

expectedFailure

unittest

decorator (source)
  • @expectedFailure
Mark the test as an expected failure or error. If the test fails or errors in the test function itself (rather than in one of the test fixture methods) then it will be considered a success. If the test passes, it will be considered a failure.
0 Examples
No examples for unittest/expectedFailure.
See Also
No see-alsos for unittest/expectedFailure
0 Notes
No notes for expectedFailure