Lines Matching refs:scope
121 scope = {}
122 exec("from __future__ import unicode_literals; x = ''", {}, scope)
123 self.assertIsInstance(scope["x"], str)
147 scope = {}
148 exec(self.template.format(ann=annotation), {}, scope)
149 func_ret_ann = scope['f'].__annotations__['return']
150 func_arg_ann = scope['g'].__annotations__['arg']
151 async_func_ret_ann = scope['f2'].__annotations__['return']
152 async_func_arg_ann = scope['g2'].__annotations__['arg']
153 var_ann1 = scope['__annotations__']['var']
154 var_ann2 = scope['__annotations__']['var2']
175 scope = {}
178 + code, scope
180 return scope