Source code: Lib/pydoc.py
exception test.support.ResourceDenied Subclass of
assertRegex(text, regex, msg=None) assertNotRegex(text, regex, msg=None) Test that a regex search matches
addError(test, err) Called when the test case test raises an unexpected exception. err is a tuple of the form
A white-label
class unittest.FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None) This class implements the portion of
patch.dict(in_dict, values=(), clear=False, **kwargs) Patch a dictionary, or dictionary like object, and restore the dictionary
test.support.run_doctest(module, verbosity=None) Run
sortTestMethodsUsing Function to be used to compare method names when sorting them in getTestCaseNames() and all
mock_add_spec(spec, spec_set=False) Add a spec to a mock. spec can either be an object or a list of strings. Only attributes
Page 3 of 28