doctest.OutputChecker.check_output()
  • References/Python/Python/Development Tools

check_output(want, got, optionflags) Return True iff the actual output from an example (got) matches the

2025-01-10 15:47:30
test.support.load_package_tests()
  • References/Python/Python/Development Tools

test.support.load_package_tests(pkg_dir, loader, standard_tests, pattern) Generic implementation of the

2025-01-10 15:47:30
doctest.DocTestFailure
  • References/Python/Python/Development Tools

exception doctest.DocTestFailure(test, example, got) An exception raised by DocTestRunner to signal that a doctest

2025-01-10 15:47:30
typing.Callable
  • References/Python/Python/Development Tools

class typing.Callable Callable type; Callable[[int], str] is a function of (int) -> str. The

2025-01-10 15:47:30
unittest.TextTestRunner.
  • References/Python/Python/Development Tools

_makeResult() This method returns the instance of TestResult used by run(). It is not intended to

2025-01-10 15:47:30
unittest.mock.create_autospec()
  • References/Python/Python/Development Tools

unittest.mock.create_autospec(spec, spec_set=False, instance=False, **kwargs) Create a mock object using another object as a

2025-01-10 15:47:30
unittest.TestLoader.errors
  • References/Python/Python/Development Tools

errors A list of the non-fatal errors encountered while loading tests. Not reset by the loader at any point. Fatal errors are

2025-01-10 15:47:30
doctest.script_from_examples()
  • References/Python/Python/Development Tools

doctest.script_from_examples(s) Convert text with examples to a script. Argument s

2025-01-10 15:47:30
typing.AbstractSet
  • References/Python/Python/Development Tools

class typing.AbstractSet(Sized, Iterable[T_co], Container[T_co]) A generic version of

2025-01-10 15:47:30
doctest.UnexpectedException
  • References/Python/Python/Development Tools

exception doctest.UnexpectedException(test, example, exc_info) An exception raised by DocTestRunner to signal that

2025-01-10 15:47:30