ID EN
Unittest

addFailure

Python 3.11

Called when the test case test signals a failure. err is a tuple of the form returned by sys.exc_info(): (type, value, traceback).

Syntax

PYTHON
addFailure(test, err)

See Also

sys.exc_info() failures