ID EN
Unittest

defaultTestResult

Python 3.11

Return an instance of the test result class that should be used for this test case class (if no other result instance is provided to the run() method).

Syntax

PYTHON
defaultTestResult()

See Also

run() TestCase TestResult TestCase