assertWarnsRegex(warning, regex, callable, *args, **kwds) assertWarnsRegex(warning, regex, msg=None) Like
class typing.Union Union type; Union[X, Y] means either X or Y. To define a union
class doctest.DocTestParser A processing class used to extract interactive examples from a string, and use them to create a
class doctest.DebugRunner(checker=None, verbose=None, optionflags=0) A subclass of DocTestRunner that raises an
class typing.MappingView(Sized, Iterable[T_co]) A generic version of
exception test.support.ResourceDenied Subclass of
patch.stopall() Stop all active patches. Only stops patches started with start.
class typing.Dict(dict, MutableMapping[KT, VT]) A generic version of
patch.dict(in_dict, values=(), clear=False, **kwargs) Patch a dictionary, or dictionary like object, and restore the dictionary
patch.object(target, attribute, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) patch
Page 5 of 28