From 89fc38e13b7eb3f48a409ef6745eb2ba275357b3 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 18 Mar 2013 20:41:10 -0400 Subject: [PATCH] Forgot to make the Py3 exec test use the Py3 exec --- tests/test_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_basic.py b/tests/test_basic.py index d81a12b8..11a9f5c9 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -268,7 +268,7 @@ def test_exec_statement(self): def test_exec_statement(self): self.assert_ok("""\ g = {} - exec "a = 11" in g, g + exec("a = 11", g, g) assert g['a'] == 11 """)