get_doctest(string, globs, name, filename, lineno) Extract all doctest examples from the given string, and collect them into
class unittest.mock.Mock(spec=None, side_effect=None, return_value=DEFAULT, wraps=None, name=None, spec_set=None, unsafe=False, **kwargs)
Source code: Lib/pydoc.py
class typing.MutableMapping(Mapping[KT, VT]) A generic version of
output A list of str
assertIs(first, second, msg=None) assertIsNot(first, second, msg=None) Test that first and second
assert_not_called() Assert the mock was never called. >>>
test.support.import_module(name, deprecated=False) This function imports and returns the named module. Unlike a normal import
class unittest.FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None) This class implements the portion of
class typing.SupportsFloat An ABC with one abstract method __float__.
Page 3 of 28