summarize(verbose=None) Print a summary of all the test cases that have been run by this DocTestRunner, and return a
test.support.run_unittest(*classes) Execute
class unittest.TestResult This class is used to compile information about which tests have succeeded and which have failed.
fail(msg=None) Signals a test failure unconditionally, with msg or None for the error message.
doCleanups() This method is called unconditionally after tearDown(), or after setUp() if setUp()
unittest.mock.mock_open(mock=None, read_data=None) A helper function to create a mock to replace the use of
class typing.SupportsAbs An ABC with one abstract method __abs__ that is covariant in its return type.
DocTestFailure.test The DocTest object that was being run when the example failed.
class unittest.TextTestResult(stream, descriptions, verbosity) A concrete implementation of TestResult used by
stop() This method can be called to signal that the set of tests being run should be aborted by setting the shouldStop
Page 24 of 28