We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_builtins
1 parent d223739 commit a2140faCopy full SHA for a2140fa
1 file changed
Lib/test/test_builtin.py
@@ -380,7 +380,7 @@ def f(): """doc"""
380
# test both direct compilation and compilation via AST
381
codeobjs = []
382
codeobjs.append(compile(codestr, "<test>", "exec", optimize=optval))
383
- tree = ast.parse(codestr)
+ tree = ast.parse(codestr, optimize=optval)
384
codeobjs.append(compile(tree, "<test>", "exec", optimize=optval))
385
for code in codeobjs:
386
ns = {}
0 commit comments