class typing.Any Special type indicating an unconstrained type. Any object
parse(string, name='') Divide the given string into examples and intervening text, and return them as a list of alternating
errors A list of the non-fatal errors encountered while loading tests. Not reset by the loader at any point. Fatal errors are
exception doctest.UnexpectedException(test, example, exc_info) An exception raised by DocTestRunner to signal that
report_unexpected_exception(out, test, example, exc_info) Report that the given example raised an unexpected exception. This
assertNotRegex(text, regex, msg=None) Test that a regex search matches (or does not match) text. In case of
tearDown() Method called immediately after the test method has been called and the result recorded. This is called even if the
UnexpectedException.example The Example that failed.
unittest.mock.create_autospec(spec, spec_set=False, instance=False, **kwargs) Create a mock object using another object as a
call.call_list() For a call object that represents multiple calls, call_list() returns a list of all the intermediate
Page 13 of 28