Permalink
Browse files

Forgot to make the Py3 exec test use the Py3 exec

  • Loading branch information...
1 parent 7c0340d commit 89fc38e13b7eb3f48a409ef6745eb2ba275357b3 @nedbat committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_basic.py
View
@@ -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
""")

0 comments on commit 89fc38e

Please sign in to comment.