Module Import alias Import alias ImportFrom alias alias ClassDef bases NameLoad body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list decorator_list FunctionDef arguments args defaults vararg body Return Call AttributeLoad NameLoad attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad TupleLoad Call NameLoad Str Call NameLoad Str Assign NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr Call NameLoad Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Call NameLoad Str TupleLoad Call NameLoad Str Str Call NameLoad Str Str TupleLoad Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Yield Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Expr Yield Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Expr Yield Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore ListLoad Call NameLoad Str Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad FunctionDef arguments args defaults body Expr Yield NameLoad Expr Yield NameLoad Expr Yield NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad decorator_list Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A sys unittest.test.support LoggingResult TestEquality Test N/A object N/A Foo N/A N/A unittest TestCase N/A test_1 N/A N/A self N/A N/A N/A N/A test_2 N/A N/A self N/A N/A N/A N/A test_3 N/A N/A self N/A N/A N/A N/A runTest N/A N/A self N/A N/A N/A N/A N/A N/A _mk_TestSuite N/A N/A N/A names N/A N/A N/A N/A unittest TestSuite N/A N/A N/A Test Foo n N/A n names N/A Test_TestSuite N/A N/A unittest TestCase TestEquality N/A N/A eq_pairs N/A N/A N/A N/A unittest TestSuite N/A N/A unittest TestSuite N/A N/A N/A unittest TestSuite N/A N/A unittest TestSuite N/A N/A N/A _mk_TestSuite test_1 N/A _mk_TestSuite test_1 N/A ne_pairs N/A N/A N/A N/A unittest TestSuite N/A _mk_TestSuite test_1 N/A N/A N/A unittest TestSuite N/A N/A _mk_TestSuite test_1 N/A N/A _mk_TestSuite test_1 test_2 N/A _mk_TestSuite test_1 test_3 N/A N/A _mk_TestSuite test_1 N/A _mk_TestSuite test_2 test_init__tests_optional N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A test_init__empty_tests N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A test_init__tests_from_any_iterable N/A N/A self N/A N/A tests N/A N/A N/A N/A N/A N/A N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A N/A N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A N/A suite_1 N/A N/A unittest TestSuite N/A tests N/A N/A N/A self assertEqual N/A N/A suite_1 countTestCases 2 N/A suite_2 N/A N/A unittest TestSuite suite_1 N/A N/A N/A self assertEqual N/A N/A suite_2 countTestCases 2 N/A suite_3 N/A N/A unittest TestSuite N/A set suite_1 N/A N/A N/A self assertEqual N/A N/A suite_3 countTestCases 2 N/A test_init__TestSuite_instances_in_tests N/A N/A self N/A N/A tests N/A N/A N/A N/A N/A ftc N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A N/A N/A N/A unittest TestSuite N/A ftc N/A N/A N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A N/A suite N/A N/A unittest TestSuite N/A tests N/A N/A N/A self assertEqual N/A N/A suite countTestCases 2 N/A test_iter N/A N/A self N/A N/A N/A test1 N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A test2 N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A suite N/A N/A unittest TestSuite N/A test1 test2 N/A N/A N/A self assertEqual N/A list suite N/A test1 test2 N/A test_countTestCases_zero_simple N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A test_countTestCases_zero_nested N/A N/A self N/A N/A Test1 N/A N/A unittest TestCase N/A test N/A N/A self N/A N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A unittest TestSuite N/A N/A N/A self assertEqual N/A N/A suite countTestCases 0 N/A test_countTestCases_simple N/A N/A self N/A N/A N/A test1 N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A test2 N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A suite N/A N/A unittest TestSuite N/A test1 test2 N/A N/A N/A self assertEqual N/A N/A suite countTestCases 2 N/A test_countTestCases_nested N/A N/A self N/A N/A Test1 N/A N/A unittest TestCase N/A test1 N/A N/A self N/A N/A N/A N/A test2 N/A N/A self N/A N/A N/A N/A N/A N/A test2 N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A test3 N/A N/A unittest FunctionTestCase N/A N/A N/A N/A None N/A child N/A N/A unittest TestSuite N/A N/A Test1 test2 test2 N/A parent N/A N/A unittest TestSuite N/A test3 child N/A Test1 test1 N/A N/A N/A self assertEqual N/A N/A parent countTestCases 4 N/A test_run__empty_suite N/A N/A self N/A N/A N/A events N/A N/A result N/A LoggingResult events N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite run result N/A N/A N/A self assertEqual events N/A N/A test_run__requires_result N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A N/A N/A suite run N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail Failed to raise TypeError N/A test_run N/A N/A self N/A N/A N/A events N/A N/A result N/A LoggingResult events LoggingCase N/A N/A unittest TestCase N/A run N/A N/A self result N/A N/A N/A N/A N/A events append N/A run %s N/A self _testMethodName N/A test1 N/A N/A self N/A N/A N/A N/A test2 N/A N/A self N/A N/A N/A N/A N/A N/A tests N/A N/A LoggingCase test1 N/A LoggingCase test2 N/A N/A N/A N/A N/A unittest TestSuite tests run result N/A N/A N/A self assertEqual events N/A run test1 run test2 N/A test_addTest__TestCase N/A N/A self N/A N/A Foo N/A N/A unittest TestCase N/A test N/A N/A self N/A N/A N/A N/A N/A N/A test N/A Foo test N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest test N/A N/A N/A self assertEqual N/A N/A suite countTestCases 1 N/A N/A N/A self assertEqual N/A list suite N/A test N/A test_addTest__TestSuite N/A N/A self N/A N/A Foo N/A N/A unittest TestCase N/A test N/A N/A self N/A N/A N/A N/A N/A N/A suite_2 N/A N/A unittest TestSuite N/A N/A Foo test N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest suite_2 N/A N/A N/A self assertEqual N/A N/A suite countTestCases 1 N/A N/A N/A self assertEqual N/A list suite N/A suite_2 N/A test_addTests N/A N/A self N/A N/A Foo N/A N/A unittest TestCase N/A test_1 N/A N/A self N/A N/A N/A N/A test_2 N/A N/A self N/A N/A N/A N/A N/A N/A test_1 N/A Foo test_1 N/A test_2 N/A Foo test_2 N/A inner_suite N/A N/A unittest TestSuite N/A test_2 gen N/A N/A N/A N/A N/A N/A test_1 N/A N/A test_2 N/A N/A inner_suite N/A N/A suite_1 N/A N/A unittest TestSuite N/A N/A N/A suite_1 addTests N/A gen N/A N/A N/A self assertEqual N/A list suite_1 N/A list N/A gen N/A suite_2 N/A N/A unittest TestSuite N/A t N/A gen N/A N/A N/A N/A suite_2 addTest t N/A N/A N/A self assertEqual suite_1 suite_2 N/A test_addTest__noniterable N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A N/A N/A suite addTests 5 N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail Failed to raise TypeError N/A test_addTest__noncallable N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A self assertRaises TypeError N/A suite addTest 5 N/A test_addTest__casesuiteclass N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A self assertRaises TypeError N/A suite addTest Test_TestSuite N/A N/A N/A self assertRaises TypeError N/A suite addTest N/A unittest TestSuite N/A test_addTests__string N/A N/A self N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A self assertRaises TypeError N/A suite addTests foo N/A test_function_in_suite N/A N/A self N/A N/A f N/A N/A _ N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest f N/A N/A N/A suite run N/A N/A unittest TestResult N/A test_basetestsuite N/A N/A self N/A N/A Test N/A N/A unittest TestCase N/A N/A wasSetUp False N/A wasTornDown False setUpClass N/A N/A cls N/A N/A N/A N/A cls wasSetUp True N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A N/A cls wasTornDown True N/A classmethod testPass N/A N/A self N/A N/A N/A N/A testFail N/A N/A self N/A N/A N/A fail N/A N/A Module N/A object N/A N/A wasSetUp False N/A wasTornDown False setUpModule N/A N/A N/A N/A N/A N/A Module wasSetUp True N/A staticmethod tearDownModule N/A N/A N/A N/A N/A N/A Module wasTornDown True N/A staticmethod N/A N/A N/A Test __module__ Module N/A N/A N/A sys modules N/A Module Module N/A N/A N/A self addCleanup N/A N/A sys modules pop Module N/A suite N/A N/A unittest BaseTestSuite N/A N/A N/A suite addTests N/A N/A Test testPass N/A Test testFail N/A N/A N/A self assertEqual N/A N/A suite countTestCases 2 N/A result N/A N/A unittest TestResult N/A N/A N/A suite run result N/A N/A N/A self assertFalse N/A Module wasSetUp N/A N/A N/A self assertFalse N/A Module wasTornDown N/A N/A N/A self assertFalse N/A Test wasSetUp N/A N/A N/A self assertFalse N/A Test wasTornDown N/A N/A N/A self assertEqual N/A len N/A result errors 1 N/A N/A N/A self assertEqual N/A len N/A result failures 0 N/A N/A N/A self assertEqual N/A result testsRun 2 N/A test_overriding_call N/A N/A self N/A N/A MySuite N/A N/A unittest TestSuite N/A N/A called False __call__ N/A N/A self N/A args kw N/A N/A N/A self called True N/A N/A N/A N/A unittest TestSuite __call__ self args kw N/A N/A N/A suite N/A MySuite N/A result N/A N/A unittest TestResult N/A wrapper N/A N/A unittest TestSuite N/A N/A N/A wrapper addTest suite N/A N/A wrapper result N/A N/A N/A self assertTrue N/A suite called N/A N/A N/A self assertFalse N/A result _testRunEntered N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main