assertIsNot(first, second, msg=None) Test that first and second evaluate (or don’t evaluate) to the same object
assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) Test that first and second are approximately
unittest.removeResult(result) Remove a registered result. Once a result has been removed then stop() will no longer
assertNotIn(first, second, msg=None) Test that first is (or is not) in second.
assertWarns(warning, callable, *args, **kwds) assertWarns(warning, msg=None) Test that a warning is triggered when
assertIn(first, second, msg=None) assertNotIn(first, second, msg=None) Test that first is (or is not) in
setUpClass() A class method called before tests in an individual class run. setUpClass is called with the class
assertIsNone(expr, msg=None) assertIsNotNone(expr, msg=None) Test that expr is (or is not) None.
records A list of
lineno The line number within filename where this DocTest begins, or None if the line
Page 19 of 28