check_output(want, got, optionflags) Return True iff the actual output from an example (got) matches the
test.support.load_package_tests(pkg_dir, loader, standard_tests, pattern) Generic implementation of the
exception doctest.DocTestFailure(test, example, got) An exception raised by DocTestRunner to signal that a doctest
class typing.Callable Callable type; Callable[[int], str] is a function of (int) -> str. The
_makeResult() This method returns the instance of TestResult used by run(). It is not intended to
unittest.mock.create_autospec(spec, spec_set=False, instance=False, **kwargs) Create a mock object using another object as a
errors A list of the non-fatal errors encountered while loading tests. Not reset by the loader at any point. Fatal errors are
doctest.script_from_examples(s) Convert text with examples to a script. Argument s
class typing.AbstractSet(Sized, Iterable[T_co], Container[T_co]) A generic version of
exception doctest.UnexpectedException(test, example, exc_info) An exception raised by DocTestRunner to signal that
Page 14 of 28