Module Assign NameStore Str ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore TupleLoad Num Num Expr ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num NameLoad Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd Num BinOpMult NameLoad Num Assign NameStore Num Expr ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd Num NameLoad Expr ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Num Num decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Call NameLoad Str keyword Str
N/A N/A __author__ Adam R. Smith pyon.core.thread PyonThreadManager PyonThread pyon.core.exception ContainerError pyon.util.int_test IonIntegrationTestCase pyon.util.unit_test PyonTestCase unittest SkipTest nose.plugins.attrib attr N/A time ProcessTest N/A PyonTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self counter 0 N/A increment N/A N/A self amount N/A 1 N/A N/A N/A self counter amount N/A test_proc N/A N/A self N/A N/A N/A N/A self counter 0 N/A proc N/A PyonThread N/A self increment 2 N/A N/A N/A proc start N/A N/A N/A self assertEqual N/A self counter 0 N/A N/A N/A time sleep 0.2 N/A N/A N/A proc join N/A N/A N/A self assertGreaterEqual N/A self counter 2 N/A test_supervisor N/A N/A self N/A N/A N/A N/A self counter 0 N/A sup N/A PyonThreadManager N/A N/A N/A sup start N/A proc N/A N/A sup spawn N/A self increment amount 2 N/A N/A N/A self assertEqual N/A self counter 0 N/A N/A N/A time sleep 0.2 N/A N/A N/A sup join_children N/A N/A N/A self assertGreaterEqual N/A self counter 2 N/A test_supervisor_shutdown N/A N/A self N/A N/A N/A  Test shutdown joining/forcing with timeouts.  N/A sup N/A PyonThreadManager N/A N/A N/A sup start N/A gevent N/A N/A N/A self assertIs N/A time sleep N/A N/A gevent hub sleep N/A N/A proc_sleep_secs proc_count N/A 0.01 5 N/A N/A N/A N/A sup spawn N/A time sleep seconds proc_sleep_secs N/A i N/A xrange 5 N/A elapsed N/A N/A sup shutdown N/A 2 proc_sleep_secs N/A N/A N/A self assertLess N/A elapsed proc_sleep_secs 0.2 N/A N/A N/A self assertLess elapsed N/A 0.2 N/A proc_sleep_secs 3 N/A wait_secs 0.0001 N/A N/A N/A N/A sup spawn N/A time sleep seconds proc_sleep_secs N/A i N/A xrange 5 N/A elapsed N/A N/A sup shutdown wait_secs N/A N/A N/A self assertLess N/A elapsed wait_secs 0.2 N/A N/A N/A self assertLess elapsed N/A 0.2 proc_sleep_secs N/A N/A N/A N/A sup spawn N/A time sleep seconds proc_sleep_secs N/A i N/A xrange 5 N/A elapsed N/A N/A sup shutdown N/A N/A N/A self assertLess N/A elapsed proc_sleep_secs 0.2 N/A test_ensure_ready N/A N/A self N/A N/A N/A sup N/A PyonThreadManager N/A N/A N/A sup start N/A proc N/A N/A sup spawn N/A self increment amount 5 N/A N/A N/A sup ensure_ready proc N/A N/A N/A self assertEqual N/A self counter 5 N/A test_ensure_ready_failed_proc N/A N/A self N/A N/A failboat N/A N/A N/A N/A N/A N/A N/A self increment 5 1 N/A N/A sup N/A PyonThreadManager N/A N/A N/A sup start N/A proc N/A N/A sup spawn failboat N/A N/A N/A self assertRaises ContainerError N/A sup ensure_ready proc N/A N/A N/A attr UNIT group process