Commit 4f09e615 authored by Benjamin Peterson's avatar Benjamin Peterson

test for 2 arg exec case

parent d2903bd6
...@@ -102,6 +102,11 @@ def g(): ...@@ -102,6 +102,11 @@ def g():
def f(): def f():
if True: if True:
exec("", {}, {}) exec("", {}, {})
""", """
def g():
def f():
if True:
exec("", {})
"""] """]
for c in code: for c in code:
compile(c, "<code>", "exec") compile(c, "<code>", "exec")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment