Module Import alias Import alias Import alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body Import alias identifier Assign NameStore ListLoad Str Str Str Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr IfExp Call AttributeLoad NameLoad attr Num Num
N/A N/A sys N/A logging N/A unittest N/A N/A unittest skip _skip N/A N/A N/A ImportError N/A N/A unittest2 unittest N/A testmodules N/A examplestests nbttests regiontests N/A Files to check for test cases. Do not include the .py extension. get_testsuites_in_module N/A N/A module N/A N/A N/A 
    Return a list of unittest.TestSuite subclasses defined in module.
     N/A suites N/A N/A name N/A dir module N/A N/A obj N/A getattr module name N/A N/A N/A isinstance obj type N/A issubclass obj N/A unittest TestSuite N/A N/A N/A N/A suites append obj N/A suites N/A load_tests_in_modules N/A N/A modulenames N/A N/A N/A 
    Given a list of module names, import the modules, load and run the 
    test cases in these modules. The modules are typically files in the 
    current directory, but this is not a requirement.
     N/A loader N/A N/A unittest TestLoader N/A suites N/A N/A name modulenames N/A N/A module N/A __import__ name N/A suite N/A N/A loader loadTestsFromModule module N/A suiteclass N/A get_testsuites_in_module module N/A N/A suite N/A suiteclass suite N/A N/A N/A suites append suite N/A suite N/A N/A unittest TestSuite suites N/A suite N/A N/A N/A __name__ __main__ N/A N/A logger N/A N/A logging getLogger nbt.tests N/A N/A N/A len N/A logger handlers 0 N/A N/A N/A N/A logging basicConfig level N/A logging INFO stream N/A sys stderr format %(levelname)-8s %(message)s N/A testresult N/A N/A N/A N/A unittest TextTestRunner verbosity 2 run N/A load_tests_in_modules testmodules N/A N/A N/A sys exit N/A N/A N/A testresult wasSuccessful 0 1