class typing.ItemsView(MappingView, Generic[KT_co, VT_co]) A generic version of
loadTestsFromModule(module, pattern=None) Return a suite of all tests cases contained in the given module. This method searches
class typing.Container(Generic[T_co]) A generic version of
testMethodPrefix String giving the prefix of method names which will be interpreted as test methods. The default value is 'test'
class typing.MutableSequence(Sequence[T]) A generic version of
test.support.change_cwd(path, quiet=False) A context manager that temporarily changes the current working directory to path
doctest.testsource(module, name) Convert the doctest for an object to a script. Argument module
assert_called_once_with(*args, **kwargs) Assert that the mock was called exactly once and with the specified arguments.
addExpectedFailure(test, err) Called when the test case test fails, but was marked with the expectedFailure()
class typing.Optional Optional type. Optional[X] is equivalent to Union[X
Page 7 of 28