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
test.support.run_doctest(module, verbosity=None) Run
typing.get_type_hints(obj) Return type hints for a function or method object. This is often
test.support.import_fresh_module(name, fresh=(), blocked=(), deprecated=False) This function imports and returns a fresh copy
assertRaisesRegex(exception, regex, callable, *args, **kwds) assertRaisesRegex(exception, regex, msg=None) Like
Page 5 of 28