assertWarns(warning, callable, *args, **kwds) assertWarns(warning, msg=None) Test that a warning is triggered when
class typing.Sequence(Sized, Iterable[T_co], Container[T_co]) A generic version of
unittest.defaultTestLoader Instance of the TestLoader class intended to be shared. If no customization of the
class doctest.DocTest(examples, globs, name, filename, lineno, docstring) A collection of doctest examples that should be run
class typing.Tuple Tuple type; Tuple[X, Y] is the type of a tuple of two items with the first item of type X and
assert_called_with(*args, **kwargs) This method is a convenient way of asserting that calls are made in a particular way:
skipTest(reason) Calling this during a test method or setUp() skips the current test. See Skipping tests
assertIn(first, second, msg=None) assertNotIn(first, second, msg=None) Test that first is (or is not) in
suiteClass Callable object that constructs a test suite from a list of tests. No methods on the resulting object are needed
class unittest.TextTestRunner(stream=None, descriptions=True, verbosity=1, failfast=False, buffer=False, resultclass=None, warnings=None, *, tb_locals=False)
Page 21 of 28