[pypy-commit] pypy py3k: re-fix this test after it was re-broken by the merge in 2744ecc997ea

antocuni noreply at buildbot.pypy.org
Wed Mar 14 11:41:21 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r53550:01ca58671262
Date: 2012-03-14 11:41 +0100
http://bitbucket.org/pypy/pypy/changeset/01ca58671262/

Log:	re-fix this test after it was re-broken by the merge in 2744ecc997ea

diff --git a/pypy/interpreter/test/test_compiler.py b/pypy/interpreter/test/test_compiler.py
--- a/pypy/interpreter/test/test_compiler.py
+++ b/pypy/interpreter/test/test_compiler.py
@@ -789,7 +789,7 @@
 
     def test_tuple_constants(self):
         ns = {}
-        exec "x = (1, 0); y = (1, 0)" in ns
+        exec("x = (1, 0); y = (1, 0)", ns)
         assert isinstance(ns["x"][0], int)
         assert isinstance(ns["y"][0], int)
 


More information about the pypy-commit mailing list