Module Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Return Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults vararg body If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num orelse Assert NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body With AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body With AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Num With AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Num NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Num Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body With AttributeLoad NameLoad attr body Assign NameStore Num While CompareLt NameLoad Num body Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body Return BinOpAdd NameLoad BinOpMult Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Return NameLoad Return BinOpAdd BinOpAdd NameLoad Call NameLoad BinOpSub NameLoad Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Return NameLoad Return BinOpAdd BinOpMult NameLoad Call NameLoad BinOpSub NameLoad Num Call NameLoad BinOpSub NameLoad Num decorator_list Assign NameStore Num With AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body With AttributeLoad NameLoad attr body Assign NameStore ListLoad Assign NameStore Num While CompareLt NameLoad Num body Assign NameStore BinOpAdd NameLoad ListLoad NameLoad Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body With AttributeLoad NameLoad attr body Assign NameStore ListLoad Assign NameStore Num While CompareLt NameLoad Num body Assign NameStore BinOpAdd NameLoad ListLoad NameLoad Assign NameStore BinOpAdd NameLoad Num With AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body FunctionDef arguments args defaults body Return TupleLoad Num Num Num decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad Call AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body FunctionDef arguments args defaults body Return Dict Str Str Str Num Num Num decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore DictComp NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Str Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore Str Assign NameStore NameLoad While CompareLt Call NameLoad NameLoad Num body Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr With NameLoad body TryExcept body With AttributeLoad NameLoad attr body FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad decorator_list Expr Call NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list Expr Str FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body TryExcept body With AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Raise Call NameLoad Str Assign NameStore Num Assign NameStore Num handlers ExceptHandler type NameLoad name NameStore body Pass Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body TryExcept body With AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num body Assign NameStore BinOpAdd NameLoad Num Raise Call NameLoad Str Assign NameStore Num Assign NameStore Num handlers ExceptHandler type NameLoad name NameStore body Pass Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Num With AttributeLoad NameLoad attr body If CompareLt NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Num Assign NameStore Num Assign NameStore Num With Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareLt NameLoad Num body Assign NameStore BinOpAdd NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Num Assign NameStore Num With Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareLt NameLoad Num body Assign NameStore BinOpAdd NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num With Call AttributeLoad NameLoad attr NameLoad body Expr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With AttributeLoad NameLoad attr body Assign NameStore Num For NameStore Call NameLoad Num body Assign NameStore BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameLoad body With AttributeLoad NameLoad attr body Assign NameStore BinOpDiv Num Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Print Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body With AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign SubscriptStore NameLoad Index Num Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body With AttributeLoad NameLoad attr body Expr Call AttributeLoad ListLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body With AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Expr Yield BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With AttributeLoad NameLoad attr body FunctionDef arguments args defaults body Return Num decorator_list FunctionDef arguments args defaults body Expr Yield Num decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr With NameLoad body Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Num With NameLoad body Assign NameStore BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr With AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list decorator_list If CompareEq NameLoad Str body Import alias identifier Expr Call AttributeLoad NameLoad attr ListLoad
N/A N/A ufora.FORA.python.PurePython.InMemorySimulationExecutorFactory InMemorySimulationExecutorFactory N/A pyfora.RemotePythonObject RemotePythonObject N/A pyfora.Exceptions Exceptions N/A pyfora.pure_modules.pure_pandas PurePandas N/A unittest N/A traceback N/A pandas WithBlockExecutors_test N/A N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls executor None N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A N/A N/A cls executor None N/A N/A N/A N/A N/A cls executor close N/A classmethod create_executor N/A N/A cls allowCached N/A True N/A N/A N/A allowCached N/A N/A N/A N/A InMemorySimulationExecutorFactory create_executor N/A N/A N/A cls executor None N/A N/A N/A cls executor N/A N/A InMemorySimulationExecutorFactory create_executor N/A N/A N/A cls executor stayOpenOnExit True N/A N/A cls executor N/A classmethod equivalentEvaluationTest N/A N/A self func N/A args N/A N/A N/A N/A len args 0 N/A N/A N/A N/A self equivalentEvaluationTestNoArgs func N/A N/A N/A N/A len args 1 N/A N/A N/A N/A self equivalentEvaluationTestOneArg func N/A args N/A 0 N/A N/A False don't know how to handle more than 1 arg, since we can't translate *args yet N/A equivalentEvaluationTestOneArg N/A N/A self func arg N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A fora remotely N/A N/A res N/A func arg N/A N/A N/A self assertEqual N/A N/A N/A N/A res toLocal result N/A func arg N/A equivalentEvaluationTestNoArgs N/A N/A self func N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A fora remotely N/A N/A res N/A func N/A N/A N/A self assertEqual N/A N/A N/A N/A res toLocal result N/A func N/A test_with_block_assignment_1 N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A x 5 N/A N/A fora remotely N/A N/A b N/A 4 x N/A result N/A N/A N/A N/A b toLocal result N/A N/A N/A self assertEqual result 9 N/A test_with_block_assignment_2 N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A fora remotely N/A N/A b N/A 4 5 N/A ix N/A b 2 N/A b_result N/A N/A N/A N/A b toLocal result N/A N/A N/A self assertEqual b_result 9 N/A ix_result N/A N/A N/A N/A ix toLocal result N/A N/A N/A self assertEqual ix_result 11 N/A test_with_block_reassignments N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A fora remotely N/A N/A ix 0 N/A N/A ix 10 N/A N/A b ix N/A ix N/A ix 1 N/A b_result N/A N/A N/A N/A b toLocal result N/A N/A N/A self assertEqual b_result 9 N/A ix_result N/A N/A N/A N/A ix toLocal result N/A N/A N/A self assertEqual ix_result 10 N/A test_with_block_complicated_function N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A y 1 N/A z 2 N/A w 3 h N/A N/A x N/A N/A N/A N/A w N/A 2 x N/A f N/A N/A x N/A N/A N/A N/A x 0 N/A N/A x N/A N/A N/A y N/A g N/A x 1 N/A h x N/A g N/A N/A x N/A N/A N/A N/A x 0 N/A N/A x N/A N/A N/A z N/A f N/A x 1 N/A h N/A x 1 N/A N/A arg 4 N/A N/A fora remotely N/A N/A result N/A f arg N/A N/A N/A self assertEqual N/A N/A N/A N/A result toLocal result N/A f arg N/A test_with_block_return_list_len N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A fora remotely N/A N/A l N/A N/A ix 0 N/A N/A ix 1000000 N/A N/A l N/A l N/A ix N/A ix N/A ix 1 N/A l N/A len l N/A N/A N/A self assertEqual N/A N/A N/A N/A l toLocal result 1000000 N/A test_with_block_return_list_and_rereference_in_second_block N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A fora remotely N/A N/A l N/A N/A ix 0 N/A N/A ix 100 N/A N/A l N/A l N/A ix N/A ix N/A ix 1 N/A N/A fora remotely N/A N/A l2 N/A len l N/A N/A N/A self assertEqual N/A N/A N/A N/A l2 toLocal result 100 N/A test_with_block_tuple_proxies N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A f N/A N/A N/A N/A N/A N/A 1 2 3 N/A N/A res N/A N/A N/A N/A fora submit f result N/A proxies N/A N/A N/A N/A res toTupleOfProxies result N/A results N/A tuple N/A N/A N/A N/A N/A p toLocal result N/A p proxies N/A N/A N/A self assertEqual results N/A 1 2 3 N/A test_with_block_dict_proxies N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A f N/A N/A N/A N/A N/A N/A 1 2 3 1 2 3 N/A N/A res N/A N/A N/A N/A fora submit f result N/A proxies N/A N/A N/A N/A res toDictOfAssignedVarsToProxyValues result N/A results N/A k N/A N/A N/A N/A v toLocal result N/A N/A k v N/A N/A proxies iteritems N/A N/A N/A self assertEqual results N/A 1 2 3 1 2 3 N/A test_with_block_download_policy N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A N/A N/A fora remotely remoteAll N/A N/A x 1 N/A N/A N/A self assertIsInstance x N/A RemotePythonObject ComputedRemotePythonObject N/A N/A N/A N/A fora remotely downloadAll N/A N/A x 2 N/A N/A N/A self assertIsInstance x int N/A N/A N/A N/A fora remotely downloadSmall 1000 N/A N/A smallString asdf N/A largeString smallString N/A N/A N/A len largeString 10000 N/A N/A largeString N/A largeString largeString N/A N/A N/A self assertIsInstance smallString str N/A N/A N/A self assertIsInstance largeString N/A RemotePythonObject ComputedRemotePythonObject N/A test_with_block_exception_in_with_block N/A N/A self N/A N/A N/A fora N/A N/A self create_executor N/A fora N/A N/A N/A N/A N/A fora remotely N/A f N/A N/A N/A N/A N/A N/A UserWarning message N/A g N/A N/A N/A N/A N/A N/A f N/A h N/A N/A N/A N/A N/A N/A g N/A N/A N/A h N/A x 30 N/A N/A N/A self assertFalse True We should have raised an exception N/A N/A N/A UserWarning N/A e N/A N/A N/A N/A self assertEqual N/A e message message N/A tracebackFormatted N/A N/A traceback format_exc N/A N/A N/A self assertTrue N/A f() tracebackFormatted N/A N/A N/A self assertTrue N/A g() tracebackFormatted N/A N/A N/A self assertTrue N/A h() tracebackFormatted N/A N/A N/A self assertTrue N/A raise UserWarning("message") tracebackFormatted N/A N/A 
    This blows up inside

    def test_with_block_return_list_and_rereference_in_second_block(self):
        fora = self.create_executor()
        with fora:
            with fora.remotely:
                l = []
                ix = 0
                while ix < 100:
                    l = l + [ix]
                    ix = ix + 1

            lAndZero = (l,0)
            with fora.remotely:
                l2 = len(lAndZero[0])

            self.assertEqual(l2.toLocal().result(), 100)
     test_with_block_assigned_vars_and_exceptions_1 N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A N/A N/A fora remotely N/A N/A a 0 N/A b 1 N/A N/A UserWarning omg N/A c 2 N/A d 3 N/A N/A N/A UserWarning N/A e N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A a toLocal result 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A b toLocal result 1 N/A N/A N/A self assertRaises UnboundLocalError N/A N/A c N/A N/A N/A self assertRaises UnboundLocalError N/A N/A d N/A test_with_block_assigned_vars_and_exceptions_2 N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A N/A N/A fora remotely N/A N/A a 0 N/A b 1 N/A ix N/A range 10 N/A N/A b N/A b 1 N/A N/A UserWarning omg N/A c 2 N/A d 3 N/A N/A N/A UserWarning N/A e N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A a toLocal result 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A b toLocal result 11 N/A N/A N/A self assertEqual N/A N/A N/A N/A ix toLocal result 9 N/A N/A N/A self assertRaises UnboundLocalError N/A N/A c N/A N/A N/A self assertRaises UnboundLocalError N/A N/A d N/A test_with_block_assign_to_invalid_var N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A x 10 N/A N/A fora remotely N/A N/A N/A x 20 N/A N/A a 0 N/A N/A b 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A a toLocal result 0 N/A N/A N/A self assertRaises UnboundLocalError N/A N/A b N/A test_with_block_conditionally_assign_to_already_assigned_var_1 N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A x 10 N/A y 10 N/A z 100 N/A N/A N/A N/A fora remotely downloadAll N/A N/A N/A x 20 N/A N/A x N/A x z N/A N/A y N/A y z N/A N/A N/A self assertEqual x 110 N/A N/A N/A self assertEqual y 10 N/A test_with_block_conditionally_assign_to_already_assigned_var_2 N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A x 10 N/A z 100 N/A N/A N/A N/A fora remotely downloadAll N/A N/A N/A x 20 N/A N/A x N/A x z N/A N/A y N/A y z N/A N/A N/A self assertEqual x 110 N/A N/A N/A self assertRaises UnboundLocalError N/A N/A y N/A test_with_block_more_assignments N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A fora remotely N/A N/A x 0 N/A ix N/A xrange 10 N/A N/A x N/A x 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A x toLocal result 10 N/A test_with_block_divide_by_zero_throws_ZeroDivisionError N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A N/A self assertRaises ZeroDivisionError N/A N/A N/A fora remotely N/A N/A x N/A 1 0 N/A test_with_block_swallows_print_statement N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A fora remotely N/A N/A x this is ok N/A y this is still ok N/A this shouldn't work N/A test_with_block_invalid_conversion_throws N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A N/A self assertRaises N/A Exceptions InvalidPyforaOperation N/A N/A N/A fora remotely N/A N/A x this is ok N/A y this is still ok N/A N/A y N/A 0 10 N/A test_with_block_list_append_throws_reasonable_exception N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A N/A self assertRaises N/A Exceptions InvalidPyforaOperation N/A N/A N/A fora remotely N/A N/A N/A N/A N/A append 10 N/A test_with_block_return_in_with_block_throws N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A N/A self assertRaises N/A Exceptions BadWithBlockError N/A N/A N/A fora remotely N/A N/A x 3 N/A y 4 N/A N/A x y N/A with_block_generator N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A fora remotely N/A N/A x 1 N/A y 2 N/A N/A N/A x y N/A test_with_block_yield_in_with_block_throws N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A Exceptions BadWithBlockError N/A N/A _ N/A N/A self with_block_generator N/A N/A N/A test_with_block_return_and_yield_nested_in_with_block_dont_throw N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A fora remotely N/A zero N/A N/A N/A N/A N/A 0 N/A zeroGen N/A N/A N/A N/A N/A N/A 0 N/A N/A x N/A zero N/A y N/A zeroGen N/A test_with_block_reassignment_in_separate_with_block N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A ctx N/A N/A N/A fora remotely downloadAll N/A ctx N/A N/A x 1 N/A N/A N/A self assertEqual x 1 N/A ctx N/A N/A x N/A x 1 N/A N/A N/A self assertEqual x 2 N/A test_repeated_instance N/A N/A self N/A N/A N/A N/A N/A self create_executor fora N/A N/A N/A fora remotely N/A N/A df N/A N/A PurePandas PurePythonDataFrame N/A N/A 1 2 3 N/A 4 5 6 N/A res1 N/A isinstance df N/A PurePandas PurePythonDataFrame N/A res2 N/A isinstance df N/A pandas DataFrame N/A N/A N/A self assertEqual N/A N/A N/A N/A res1 toLocal result True N/A N/A N/A self assertEqual N/A N/A N/A N/A res2 toLocal result False N/A N/A N/A self assertIsInstance N/A N/A N/A N/A df toLocal result N/A pandas DataFrame N/A N/A fora remotely N/A N/A res3 N/A isinstance df N/A PurePandas PurePythonDataFrame N/A res4 N/A isinstance df N/A pandas DataFrame N/A type_ N/A type df N/A N/A N/A self assertEqual N/A N/A N/A N/A res4 toLocal result False N/A N/A N/A self assertEqual N/A N/A N/A N/A res3 toLocal result True N/A N/A N/A N/A type_ toLocal result N/A N/A N/A N/A __name__ __main__ N/A N/A ufora.config.Mainline Mainline N/A N/A N/A Mainline UnitTestMainline N/A