class doctest.DebugRunner(checker=None, verbose=None, optionflags=0) A subclass of DocTestRunner that raises an
maxDiff This attribute controls the maximum length of diffs output by assert methods that report diffs on failure. It defaults
class typing.MappingView(Sized, Iterable[T_co]) A generic version of
class typing.Mapping(Sized, Iterable[KT], Container[KT], Generic[VT_co]) A generic version of
@typing.no_type_check(arg) Decorator to indicate that annotations are not type hints. The argument
unittest.installHandler() Install the control-c handler. When a signal.SIGINT is received (usually in response
unittest.mock.sentinel The sentinel object provides a convenient way of providing unique objects for your tests
class typing.Union Union type; Union[X, Y] means either X or Y. To define a union
docstring The string that the test was extracted from, or ‘None’ if the string is unavailable, or if the test was not extracted
get_doctest(string, globs, name, filename, lineno) Extract all doctest examples from the given string, and collect them into
Page 1 of 28