failures A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple
assertNotIn(first, second, msg=None) Test that first is (or is not) in second.
startTest(test) Called when the test case test is about to be run.
assertWarns(warning, callable, *args, **kwds) assertWarns(warning, msg=None) Test that a warning is triggered when
want The expected output from running the example’s source code (either from stdout, or a traceback in case of exception). want
assertIn(first, second, msg=None) assertNotIn(first, second, msg=None) Test that first is (or is not) in
assertAlmostEqual(first, second, places=7, msg=None, delta=None) assertNotAlmostEqual(first, second, places=7, msg=None, delta=None)
setUpClass() A class method called before tests in an individual class run. setUpClass is called with the class
suiteClass Callable object that constructs a test suite from a list of tests. No methods on the resulting object are needed
test.support.check_warnings(*filters, quiet=True) A convenience wrapper for
Page 21 of 28