Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias alias alias Import alias ImportFrom alias alias alias alias alias If NameLoad body FunctionDef arguments args NameParam defaults body Return BoolOpOr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list ImportFrom alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list decorator_list Assign NameStore AttributeLoad NameLoad attr orelse ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad orelse Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryFinally body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad Str body Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr finalbody Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call NameLoad Str If CompareIn Str NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str If NameLoad body For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call Call NameLoad NameLoad NameLoad keyword NameLoad If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad Continue orelse Raise Call NameLoad Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad If Call NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Break orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr orelse For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Expr Call NameLoad Call NameLoad NameLoad Call NameLoad keyword NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Str ImportFrom alias Assign NameStore NameLoad If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Str orelse If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list
N/A N/A 
Some classes to make it a little more convenient to do MPI testing.
 __future__ print_function N/A os N/A sys N/A time N/A traceback N/A subprocess six.moves cStringIO StringIO six PY3 N/A unittest unittest TestCase SkipTest os.path join dirname abspath N/A inspect inspect getmembers ismethod isfunction isclass getargspec N/A PY3 N/A ismethod N/A N/A obj N/A N/A N/A N/A N/A isfunction obj N/A N/A inspect ismethod obj N/A openmdao.core.mpi_wrap under_mpirun FakeComm N/A N/A mpi4py MPI N/A N/A N/A ImportError N/A MPITestCase N/A TestCase N/A __init__ N/A N/A self methodName N/A runTest N/A N/A N/A N/A N/A super MPITestCase self __init__ methodName methodName N/A N/A self comm N/A FakeComm N/A N/A N/A mpirun_tests N/A unittest main N/A MPITestCase N/A TestCase N/A N/A A base class for all TestCases that are
        intended to run under mpirun.
         __init__ N/A N/A self methodName N/A runTest N/A N/A N/A N/A N/A super MPITestCase self __init__ methodName methodName N/A N/A self comm N/A MPI COMM_WORLD N/A N/A TestResult N/A object N/A N/A Contains the path to the test function/method, status
        of the test (if finished), error and stdout messages (if any),
        and start/end times.
         __init__ N/A N/A self testspec start_time end_time status err_msg N/A OK N/A N/A N/A self testspec testspec N/A N/A self status status N/A N/A self err_msg err_msg N/A N/A self start_time start_time N/A N/A self end_time end_time N/A elapsed N/A N/A self N/A N/A N/A N/A N/A self end_time N/A self start_time N/A __str__ N/A N/A self N/A N/A N/A N/A self err_msg N/A N/A N/A %s: %s
%s N/A N/A self testspec N/A self status N/A self err_msg N/A N/A N/A %s: %s N/A N/A self testspec N/A self status N/A N/A try_call N/A N/A method N/A N/A N/A Calls the given method, captures stdout and stderr,
        and returns the status (OK, SKIP, FAIL).
         N/A status OK N/A N/A N/A N/A method N/A N/A N/A Exception N/A e N/A N/A msg N/A N/A traceback format_exc N/A N/A isinstance e SkipTest N/A N/A status SKIP N/A N/A N/A N/A sys stderr write N/A str e N/A N/A status FAIL N/A N/A N/A N/A sys stderr write msg N/A N/A N/A msg N/A N/A traceback format_exc N/A status FAIL N/A N/A N/A N/A sys stderr write msg N/A N/A N/A N/A sys stderr flush N/A status N/A run_test N/A N/A testspec parent method nocap N/A False N/A N/A start_time N/A N/A time time N/A errstream N/A StringIO N/A nocap N/A N/A outstream N/A sys stdout N/A N/A outstream N/A StringIO N/A setup N/A getattr parent setUp None N/A teardown N/A getattr parent tearDown None N/A run_method True N/A run_td True N/A N/A N/A old_err N/A sys stderr N/A old_out N/A sys stdout N/A N/A sys stdout outstream N/A N/A sys stderr errstream N/A setup N/A N/A status N/A try_call setup N/A N/A status OK N/A N/A run_method False N/A run_td False N/A run_method N/A N/A status N/A try_call N/A getattr parent method N/A N/A teardown run_td N/A N/A tdstatus N/A try_call teardown N/A N/A status OK N/A N/A status tdstatus N/A result N/A TestResult testspec start_time N/A N/A time time status N/A N/A errstream getvalue N/A N/A N/A sys stderr old_err N/A N/A sys stdout old_out N/A result N/A mpirun_tests N/A N/A args N/A None N/A N/A This is used in the "if __name__ == '__main__'" block to run all
        tests in that module.  The tests are run using mpirun.
         N/A N/A args None N/A N/A args N/A N/A sys argv N/A 1 N/A mod N/A __import__ __main__ N/A N/A -ns args N/A N/A nocap False N/A N/A nocap True N/A tests N/A n N/A n args N/A N/A N/A n startswith - N/A options N/A n N/A n args N/A N/A n startswith - N/A tests N/A N/A test tests N/A N/A N/A tcase _ method N/A N/A test partition . N/A method N/A N/A parent N/A N/A getattr mod tcase methodName method N/A N/A N/A hasattr parent N_PROCS N/A N/A under_mpirun N/A N/A retcode N/A run_in_sub N/A getattr mod tcase test options N/A N/A N/A N/A NotImplementedError module test functions not supported yet N/A tspec N/A %s:%s N/A N/A mod __file__ test N/A N/A N/A N/A MPI COMM_WORLD rank 0 N/A N/A N/A N/A N/A sys stdout write N/A %s ...  tspec N/A result N/A run_test tspec parent method nocap nocap N/A N/A under_mpirun N/A N/A results N/A N/A N/A MPI COMM_WORLD gather result root 0 N/A N/A N/A N/A MPI COMM_WORLD rank 0 N/A N/A N/A i r N/A enumerate results N/A N/A N/A N/A r status OK N/A N/A N/A N/A N/A sys stdout write N/A %s
ERROR in rank %d:
 N/A N/A r status i N/A N/A N/A N/A sys stdout write N/A %s
 N/A r err_msg N/A N/A N/A N/A N/A N/A sys stdout write N/A %s
 N/A r status N/A N/A N/A N/A N/A sys stdout write N/A %s
 N/A r status N/A N/A N/A k v N/A getmembers mod isclass N/A N/A N/A issubclass v TestCase N/A N/A N/A n method N/A getmembers v ismethod N/A N/A N/A N/A n startswith test_ N/A N/A testspec N/A N/A k . n N/A N/A N/A hasattr v N_PROCS N/A N/A N/A print N/A run_test testspec N/A v methodName n n nocap nocap N/A N/A retcode N/A run_in_sub v testspec options N/A run_in_sub N/A N/A testcase testspec options N/A N/A N/A mod N/A __import__ __main__ distutils spawn N/A mpirun_exe None N/A N/A N/A N/A spawn find_executable mpirun None N/A N/A mpirun_exe mpirun N/A N/A N/A N/A N/A spawn find_executable mpiexec None N/A N/A mpirun_exe mpiexec N/A N/A mpirun_exe None N/A N/A N/A Exception mpirun or mpiexec was not found in the system path. N/A cmd N/A %s -n %d %s %s %s %s N/A mpirun_exe N/A testcase N_PROCS N/A sys executable N/A mod __file__ testspec N/A N/A join options N/A N/A N/A subprocess call cmd shell True N/A