From: Benjamin Peterson Date: Sun, 10 Aug 2014 02:39:50 +0000 (-0700) Subject: test for 2 arg exec case X-Git-Tag: v2.7.9rc1~313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f09e615cd6b7bef321e1cc33d8936ceaf2ac680;p=thirdparty%2FPython%2Fcpython.git test for 2 arg exec case --- diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 5f91d0d6387c..ca396a974e1c 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -102,6 +102,11 @@ def g(): def f(): if True: exec("", {}, {}) + """, """ +def g(): + def f(): + if True: + exec("", {}) """] for c in code: compile(c, "", "exec")