Module Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str If UnaryOpNot NameLoad body Return With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore ListLoad ListLoad Str Str Str Str Str Str Str ListLoad Str Str Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot CompareIn Str NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListComp BinOpAdd NameLoad Str comprehension NameStore TupleLoad Str Str Expr Call AttributeLoad NameLoad attr ListComp BinOpAdd BinOpMod Str NameLoad Str comprehension NameStore TupleLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore ListLoad Str Str Str Assign NameStore ListLoad NameLoad ListLoad ListLoad ListLoad Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults CompareNotIn Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Return Str decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Raise Call AttributeLoad NameLoad attr Str Return BinOpAdd AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad BinOpAdd Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice FunctionDef arguments args defaults body Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults NameLoad FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return ListLoad Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults ListLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call NameLoad SubscriptLoad Call NameLoad NameLoad Index Num Index Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults body Raise NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Return Str decorator_list decorator_list Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Return Str decorator_list decorator_list Expr Call AttributeLoad NameLoad attr ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Str decorator_list Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Str If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Return ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A re N/A sys N/A unittest N/A unittest.test TestDiscovery N/A N/A unittest TestCase N/A test_get_name_from_path N/A N/A self N/A N/A N/A loader N/A N/A unittest TestLoader N/A N/A loader _top_level_dir /foo N/A name N/A N/A loader _get_name_from_path /foo/bar/baz.py N/A N/A N/A self assertEqual name bar.baz N/A N/A __debug__ N/A N/A N/A N/A N/A self assertRaises AssertionError N/A N/A N/A N/A loader _get_name_from_path /bar/baz.py N/A test_find_tests N/A N/A self N/A N/A N/A loader N/A N/A unittest TestLoader N/A original_listdir N/A os listdir restore_listdir N/A N/A N/A N/A N/A N/A os listdir original_listdir N/A N/A original_isfile N/A N/A os path isfile restore_isfile N/A N/A N/A N/A N/A N/A N/A os path isfile original_isfile N/A N/A original_isdir N/A N/A os path isdir restore_isdir N/A N/A N/A N/A N/A N/A N/A os path isdir original_isdir N/A N/A path_lists N/A N/A test1.py test2.py not_a_test.py test_dir test.foo test-not-a-module.py another_dir N/A test3.py test4.py N/A N/A os listdir N/A N/A N/A path N/A N/A N/A path_lists pop 0 N/A N/A N/A self addCleanup restore_listdir isdir N/A N/A path N/A N/A N/A N/A N/A path endswith dir N/A N/A N/A N/A os path isdir isdir N/A N/A N/A self addCleanup restore_isdir isfile N/A N/A path N/A N/A N/A N/A N/A N/A N/A path endswith dir N/A N/A another_dir path N/A N/A N/A N/A os path isfile isfile N/A N/A N/A self addCleanup restore_isfile N/A N/A loader _get_module_from_name N/A N/A N/A path N/A N/A path  module N/A N/A loader loadTestsFromModule N/A N/A N/A module N/A N/A module  tests N/A top_level N/A N/A N/A os path abspath /foo N/A N/A loader _top_level_dir top_level N/A suite N/A list N/A N/A loader _find_tests top_level test*.py N/A expected N/A N/A name  module tests N/A name N/A test1 test2 N/A N/A N/A expected extend N/A N/A N/A test_dir.%s name  module tests N/A name N/A test3 test4 N/A N/A N/A self assertEqual suite expected N/A test_find_tests_with_package N/A N/A self N/A N/A N/A loader N/A N/A unittest TestLoader N/A original_listdir N/A os listdir restore_listdir N/A N/A N/A N/A N/A N/A os listdir original_listdir N/A N/A original_isfile N/A N/A os path isfile restore_isfile N/A N/A N/A N/A N/A N/A N/A os path isfile original_isfile N/A N/A original_isdir N/A N/A os path isdir restore_isdir N/A N/A N/A N/A N/A N/A N/A os path isdir original_isdir N/A N/A directories N/A a_directory test_directory test_directory2 N/A path_lists N/A directories N/A N/A N/A N/A N/A os listdir N/A N/A N/A path N/A N/A N/A path_lists pop 0 N/A N/A N/A self addCleanup restore_listdir N/A N/A N/A os path isdir N/A N/A N/A path N/A True N/A N/A N/A self addCleanup restore_isdir N/A N/A N/A os path isfile N/A N/A N/A path N/A N/A N/A N/A N/A os path basename path directories N/A N/A N/A self addCleanup restore_isfile Module N/A object N/A N/A paths N/A N/A load_tests_args N/A __init__ N/A N/A self path N/A N/A N/A N/A self path path N/A N/A N/A N/A self paths append path N/A N/A N/A N/A N/A os path basename path test_directory N/A load_tests N/A N/A loader tests pattern N/A N/A N/A N/A N/A N/A self load_tests_args append N/A loader tests pattern N/A load_tests N/A N/A N/A self load_tests load_tests N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A self path N/A other path N/A N/A __hash__ None N/A N/A N/A loader _get_module_from_name N/A N/A N/A name N/A N/A Module name loadTestsFromModule N/A N/A module use_load_tests N/A N/A N/A use_load_tests N/A N/A N/A N/A self failureException use_load_tests should be False for packages N/A N/A N/A module path  module tests N/A N/A N/A loader loadTestsFromModule loadTestsFromModule N/A N/A loader _top_level_dir /foo N/A suite N/A list N/A N/A loader _find_tests /foo test* N/A N/A N/A self assertEqual suite N/A load_tests N/A test_directory2  module tests N/A N/A N/A self assertEqual N/A Module paths N/A test_directory test_directory2 N/A N/A N/A self assertEqual N/A Module load_tests_args N/A N/A loader N/A test_directory  module tests test* N/A test_discover N/A N/A self N/A N/A N/A loader N/A N/A unittest TestLoader N/A original_isfile N/A N/A os path isfile N/A original_isdir N/A N/A os path isdir restore_isfile N/A N/A N/A N/A N/A N/A N/A os path isfile original_isfile N/A N/A N/A N/A os path isfile N/A N/A N/A path N/A False N/A N/A N/A self addCleanup restore_isfile N/A orig_sys_path N/A N/A sys path N/A restore_path N/A N/A N/A N/A N/A N/A N/A sys path N/A orig_sys_path N/A N/A N/A N/A self addCleanup restore_path N/A full_path N/A N/A N/A os path abspath N/A N/A N/A os path normpath /foo N/A N/A N/A self assertRaises ImportError N/A N/A N/A N/A loader discover /foo/bar top_level_dir /foo N/A N/A N/A self assertEqual N/A loader _top_level_dir full_path N/A N/A N/A self assertIn full_path N/A sys path N/A N/A N/A os path isfile N/A N/A N/A path N/A True N/A N/A N/A os path isdir N/A N/A N/A path N/A True restore_isdir N/A N/A N/A N/A N/A N/A N/A os path isdir original_isdir N/A N/A N/A N/A self addCleanup restore_isdir N/A _find_tests_args N/A _find_tests N/A N/A start_dir pattern N/A N/A N/A N/A N/A _find_tests_args append N/A start_dir pattern N/A N/A tests N/A N/A N/A loader _find_tests _find_tests N/A N/A loader suiteClass str N/A suite N/A N/A loader discover /foo/bar/baz pattern /foo/bar N/A top_level_dir N/A N/A N/A os path abspath /foo/bar N/A start_dir N/A N/A N/A os path abspath /foo/bar/baz N/A N/A N/A self assertEqual suite ['tests'] N/A N/A N/A self assertEqual N/A loader _top_level_dir top_level_dir N/A N/A N/A self assertEqual _find_tests_args N/A N/A start_dir pattern N/A N/A N/A self assertIn top_level_dir N/A sys path N/A test_discover_with_modules_that_fail_to_import N/A N/A self N/A N/A N/A loader N/A N/A unittest TestLoader N/A listdir N/A os listdir N/A N/A os listdir N/A N/A N/A _ N/A N/A test_this_does_not_exist.py N/A isfile N/A N/A os path isfile N/A N/A N/A os path isfile N/A N/A N/A _ N/A True N/A orig_sys_path N/A N/A sys path N/A restore N/A N/A N/A N/A N/A N/A N/A os path isfile isfile N/A N/A os listdir listdir N/A N/A N/A sys path N/A orig_sys_path N/A N/A N/A N/A self addCleanup restore N/A suite N/A N/A loader discover . N/A N/A N/A self assertIn N/A N/A os getcwd N/A sys path N/A N/A N/A self assertEqual N/A N/A suite countTestCases 1 N/A test N/A N/A list N/A N/A list suite N/A 0 N/A 0 N/A N/A N/A self assertRaises ImportError N/A N/A N/A N/A test test_this_does_not_exist N/A test_command_line_handling_parseArgs N/A N/A self N/A N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A args N/A do_discovery N/A N/A argv N/A N/A N/A N/A N/A args extend argv N/A N/A N/A program _do_discovery do_discovery N/A N/A N/A program parseArgs N/A something discover N/A N/A N/A self assertEqual args N/A N/A N/A N/A program parseArgs N/A something discover foo bar N/A N/A N/A self assertEqual args N/A foo bar N/A test_command_line_handling_do_discovery_too_many_arguments N/A N/A self N/A N/A Stop N/A Exception N/A N/A N/A usageExit N/A N/A N/A N/A N/A Stop N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A program usageExit usageExit N/A N/A program testLoader None N/A N/A N/A self assertRaises Stop N/A N/A N/A N/A program _do_discovery N/A one two three four N/A test_command_line_handling_do_discovery_uses_default_loader N/A N/A self N/A N/A N/A program N/A N/A object __new__ N/A unittest TestProgram Loader N/A object N/A N/A args N/A discover N/A N/A self start_dir pattern top_level_dir N/A N/A N/A N/A N/A N/A self args append N/A start_dir pattern top_level_dir N/A tests N/A N/A N/A N/A program testLoader N/A Loader N/A N/A N/A program _do_discovery N/A -v N/A N/A N/A self assertEqual N/A Loader args N/A N/A . test*.py None N/A test_command_line_handling_do_discovery_calls_loader N/A N/A self N/A N/A N/A program N/A N/A object __new__ N/A unittest TestProgram Loader N/A object N/A N/A args N/A discover N/A N/A self start_dir pattern top_level_dir N/A N/A N/A N/A N/A N/A self args append N/A start_dir pattern top_level_dir N/A tests N/A N/A N/A N/A N/A program _do_discovery N/A -v Loader Loader N/A N/A N/A self assertEqual N/A program verbosity 2 N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A . test*.py None N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A --verbose Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A . test*.py None N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A . test*.py None N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A fish Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A fish test*.py None N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A fish eggs Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A fish eggs None N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A fish eggs ham Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A fish eggs ham N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A -s fish Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A fish test*.py None N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A -t fish Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A . test*.py fish N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A -p fish Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A . fish None N/A N/A N/A self assertFalse N/A program failfast N/A N/A N/A self assertFalse N/A program catchbreak N/A N/A Loader args N/A N/A program N/A N/A object __new__ N/A unittest TestProgram N/A N/A N/A program _do_discovery N/A -p eggs -s fish -v -f -c Loader Loader N/A N/A N/A self assertEqual N/A program test tests N/A N/A N/A self assertEqual N/A Loader args N/A N/A fish eggs None N/A N/A N/A self assertEqual N/A program verbosity 2 N/A N/A N/A self assertTrue N/A program failfast N/A N/A N/A self assertTrue N/A program catchbreak N/A setup_module_clash N/A N/A self N/A N/A Module N/A object N/A N/A __file__ bar/foo.py N/A N/A N/A N/A sys modules N/A foo Module N/A full_path N/A N/A N/A os path abspath foo N/A original_listdir N/A os listdir N/A original_isfile N/A N/A os path isfile N/A original_isdir N/A N/A os path isdir cleanup N/A N/A N/A N/A N/A N/A os listdir original_listdir N/A N/A N/A os path isfile original_isfile N/A N/A N/A os path isdir original_isdir N/A N/A N/A sys modules N/A foo N/A N/A full_path N/A sys path N/A N/A N/A N/A N/A sys path remove full_path N/A N/A N/A N/A self addCleanup cleanup listdir N/A N/A _ N/A N/A N/A N/A foo.py N/A isfile N/A N/A _ N/A N/A N/A True N/A isdir N/A N/A _ N/A N/A N/A True N/A N/A N/A os listdir listdir N/A N/A N/A os path isfile isfile N/A N/A N/A os path isdir isdir N/A full_path N/A test_detect_module_clash N/A N/A self N/A N/A N/A full_path N/A N/A self setup_module_clash N/A loader N/A N/A unittest TestLoader N/A mod_dir N/A N/A N/A os path abspath bar N/A expected_dir N/A N/A N/A os path abspath foo N/A msg N/A N/A re escape N/A 'foo' module incorrectly imported from %r. Expected %r. Is this module globally installed? N/A mod_dir expected_dir N/A N/A N/A self assertRaisesRegexp ImportError N/A ^%s$ msg N/A loader discover start_dir foo pattern foo.py N/A N/A N/A self assertEqual N/A N/A sys path N/A 0 full_path N/A test_module_symlink_ok N/A N/A self N/A N/A N/A full_path N/A N/A self setup_module_clash N/A original_realpath N/A N/A os path realpath N/A mod_dir N/A N/A N/A os path abspath bar N/A expected_dir N/A N/A N/A os path abspath foo cleanup N/A N/A N/A N/A N/A N/A N/A os path realpath original_realpath N/A N/A N/A N/A self addCleanup cleanup realpath N/A N/A path N/A N/A N/A N/A path N/A N/A N/A os path join mod_dir foo.py N/A N/A N/A N/A N/A os path join expected_dir foo.py N/A path N/A N/A N/A N/A os path realpath realpath N/A loader N/A N/A unittest TestLoader N/A N/A N/A loader discover start_dir foo pattern foo.py N/A test_discovery_from_dotted_path N/A N/A self N/A N/A N/A loader N/A N/A unittest TestLoader N/A tests N/A self N/A expectedPath N/A N/A N/A os path abspath N/A N/A N/A os path dirname N/A N/A unittest test __file__ N/A N/A self wasRun False _find_tests N/A N/A start_dir pattern N/A N/A N/A N/A self wasRun True N/A N/A N/A self assertEqual start_dir expectedPath N/A tests N/A N/A N/A loader _find_tests _find_tests N/A suite N/A N/A loader discover unittest.test N/A N/A N/A self assertTrue N/A self wasRun N/A N/A N/A self assertEqual N/A suite _tests tests N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main