UnexpectedException.example The Example that failed.
indent The example’s indentation in the containing string, i.e., the number of space characters that precede the example’s first
typing.NamedTuple(typename, fields) Typed version of namedtuple. Usage:
errors A list of the non-fatal errors encountered while loading tests. Not reset by the loader at any point. Fatal errors are
defaultTestResult() Return an instance of the test result class that should be used for this test case class (if no other result
assertLogs(logger=None, level=None) A context manager to test that at least one message is logged on the logger or
addTypeEqualityFunc(typeobj, function) Registers a type-specific method called by assertEqual() to check if two
call.call_list() For a call object that represents multiple calls, call_list() returns a list of all the intermediate
exception doctest.DocTestFailure(test, example, got) An exception raised by DocTestRunner to signal that a doctest
unittest.mock.create_autospec(spec, spec_set=False, instance=False, **kwargs) Create a mock object using another object as a
Page 13 of 28