unittest.defaultTestLoader Instance of the TestLoader class intended to be shared. If no customization of the
doctest.DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, checker=None) Convert
class doctest.DocTest(examples, globs, name, filename, lineno, docstring) A collection of doctest examples that should be run
setUp() Method called to prepare the test fixture. This is called immediately before calling the test method; other than
report_success(out, test, example, got) Report that the given example ran successfully. This method is provided to allow subclasses
class typing.re Wrapper namespace for regular expression matching types. This defines the type
assertIsInstance(obj, cls, msg=None) assertNotIsInstance(obj, cls, msg=None) Test that obj is (or is not)
test.support.is_resource_enabled(resource) Return True if resource is enabled and available. The list
class test.support.SuppressCrashReport A context manager used to try to prevent crash dialog popups on tests that are expected
assert_has_calls(calls, any_order=False) assert the mock has been called with the specified calls. The mock_calls
Page 22 of 28