patch.object(target, attribute, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) patch
assertSequenceEqual(first, second, msg=None, seq_type=None) Tests that two sequences are equal. If a seq_type is supplied
doctest.register_optionflag(name) Create a new option flag with a given name, and return the new flag’s integer value.
assertIs(first, second, msg=None) assertIsNot(first, second, msg=None) Test that first and second
filename The name of the file that this DocTest was extracted from; or None if the filename is unknown
class typing.MutableMapping(Mapping[KT, VT]) A generic version of
class doctest.DebugRunner(checker=None, verbose=None, optionflags=0) A subclass of DocTestRunner that raises an
test.support.forget(module_name) Remove the module named module_name from sys.modules and delete any byte-compiled
class unittest.mock.NonCallableMagicMock(*args, **kw) A non-callable version of MagicMock. The
assertWarnsRegex(warning, regex, callable, *args, **kwds) assertWarnsRegex(warning, regex, msg=None) Like
Page 5 of 28