ID EN
Unittest

addError

Python 3.11

Called when the test case test raises an unexpected exception. err is a tuple of the form returned by sys.exc_info(): (type, value, traceback).

Syntax

PYTHON
addError(test, err)

See Also

sys.exc_info() errors