method_calls As well as tracking calls to themselves, mocks also track calls to methods and attributes, and their methods
class typing.Generator(Iterator[T_co], Generic[T_co, T_contra, V_co]) A generator can be annotated by the generic type
stopTestRun() Called once after all tests are executed.
class typing.SupportsAbs An ABC with one abstract method __abs__ that is covariant in its return type.
unittest.mock.mock_open(mock=None, read_data=None) A helper function to create a mock to replace the use of
examples A list of Example objects encoding the individual interactive Python examples that should be run by this
patch.multiple(target, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) Perform multiple
test.support.verbose True when verbose output is enabled. Should be checked when more detailed information is desired
addCleanup(function, *args, **kwargs) Add a function to be called after tearDown() to cleanup resources used during
summarize(verbose=None) Print a summary of all the test cases that have been run by this DocTestRunner, and return a
Page 27 of 28