buffer If set to true, sys.stdout and sys.stderr will be buffered in between startTest()
test.support.forget(module_name) Remove the module named module_name from sys.modules and delete any byte-compiled
class typing.Union Union type; Union[X, Y] means either X or Y. To define a union
@typing.no_type_check(arg) Decorator to indicate that annotations are not type hints. The argument
class unittest.mock.Mock(spec=None, side_effect=None, return_value=DEFAULT, wraps=None, name=None, spec_set=None, unsafe=False, **kwargs)
test.support.run_doctest(module, verbosity=None) Run
addError(test, err) Called when the test case test raises an unexpected exception. err is a tuple of the form
patch.stopall() Stop all active patches. Only stops patches started with start.
_get_child_mock(**kw) Create the child mocks for attributes and return value. By default child mocks will be the same type as
@typing.no_type_check_decorator(decorator) Decorator to give another decorator the no_type_check() effect.
Page 3 of 28