

def test_compile_suite(self):
    st = parser.suite('x = 2; y = x + 3')
    code = parser.compilest(st)
    globs = {
        
    }
    exec(code, globs)
    self.assertEqual(globs['y'], 5)

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_parser.py CompileTestCase.test_compile_suite/original