commit | 4f09e615cd6b7bef321e1cc33d8936ceaf2ac680 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Aug 09 19:39:50 2014 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Aug 09 19:39:50 2014 -0700 |
tree | 72928c78117134dbd70d7594165f7db2d9eba92b | |
parent | d2903bd682cdd772a59ac109754333ef0da3cb97 [diff] |
test for 2 arg exec case
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 5f91d0d..ca396a9 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py
@@ -102,6 +102,11 @@ def f(): if True: exec("", {}, {}) + """, """ +def g(): + def f(): + if True: + exec("", {}) """] for c in code: compile(c, "<code>", "exec")