Exemplo n.º 1
0
 def setUp(self):
     self.context = Context()
Exemplo n.º 2
0
 def test_access_outer_scope(self):
     self.evaluator._execute_code('d = [x for x in range(10) if x!=a]',
                                  context=Context({'a': 1}))