A white-label
tb_locals If set to true then local variables will be shown in tracebacks.
class typing.MappingView(Sized, Iterable[T_co]) A generic version of
assert_not_called() Assert the mock was never called. >>>
typing.get_type_hints(obj) Return type hints for a function or method object. This is often
unittest.main(module='__main__', defaultTest=None, argv=None, testRunner=None, testLoader=unittest.defaultTestLoader, exit=True, verbosity=1, failfast=None, catchbreak=None
unittest.mock.sentinel The sentinel object provides a convenient way of providing unique objects for your tests
addError(test, err) Called when the test case test raises an unexpected exception. err is a tuple of the form
test.support.forget(module_name) Remove the module named module_name from sys.modules and delete any byte-compiled
test.support.import_fresh_module(name, fresh=(), blocked=(), deprecated=False) This function imports and returns a fresh copy
Page 3 of 28