ID EN
Unittest

addSubTest

Python 3.11

Called when a subtest finishes. test is the test case corresponding to the test method. subtest is a custom TestCase instance describing the subtest.

Syntax

PYTHON
addSubTest(test, subtest, outcome)

See Also

TestCase None sys.exc_info()