ID EN
Unittest

addExpectedFailure

Python 3.11

Called when the test case test fails or errors, but was marked with the expectedFailure() decorator.

Syntax

PYTHON
addExpectedFailure(test, err)

See Also

expectedFailure() expectedFailures