assertIsNone(expr, msg=None) assertIsNotNone(expr, msg=None) Test that expr is (or is not) None.
assertNotIn(first, second, msg=None) Test that first is (or is not) in second.
errors A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple represents
unittest.removeResult(result) Remove a registered result. Once a result has been removed then stop() will no longer
assertIsNot(first, second, msg=None) Test that first and second evaluate (or don’t evaluate) to the same object
test.support.check_warnings(*filters, quiet=True) A convenience wrapper for
UnexpectedException.test The DocTest object that was being run when the example failed.
failures A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple
assertWarns(warning, callable, *args, **kwds) assertWarns(warning, msg=None) Test that a warning is triggered when
assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) Test that first and second are approximately
Page 20 of 28