stopTest(test) Called after the test case test has been executed, regardless of the outcome.
errors A list containing 2-tuples of TestCase instances and strings holding formatted tracebacks. Each tuple represents
called A boolean representing whether or not the mock object has been called:
globs The namespace (aka globals) that the examples should be run in. This is a dictionary mapping names to values. Any changes
assertDictEqual(first, second, msg=None) Test that two dictionaries are equal. If not, an error message is constructed that
assertTrue(expr, msg=None) assertFalse(expr, msg=None) Test that expr is true (or false).
class doctest.OutputChecker A class used to check the whether the actual output from a doctest example matches the expected
exc_msg The exception message generated by the example, if the example is expected to generate an exception; or None
assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) Test that first and second are approximately
test.support.captured_stdout() test.support.captured_stderr() A context managers that temporarily replaces the named
Page 20 of 28