From: Benjamin Peterson Date: Sun, 10 Aug 2014 02:39:50 +0000 (-0700) Subject: test for 2 arg exec case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f09e615cd6b7bef321e1cc33d8936ceaf2ac680;p=python test for 2 arg exec case --- diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 5f91d0d638..ca396a974e 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")