[pypy-commit] pypy py3k: py3k-ify the syntax of this test

antocuni noreply at buildbot.pypy.org
Fri Jan 27 20:29:25 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r51880:a47a0d7d1ec5
Date: 2012-01-27 16:45 +0100
http://bitbucket.org/pypy/pypy/changeset/a47a0d7d1ec5/

Log:	py3k-ify the syntax of this test

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
@@ -30,7 +30,7 @@
     def test_compile_command(self):
         for mode in ('single', 'exec'):
             c0 = self.compiler.compile_command('\t # hello\n ', '?', mode, 0)
-            c1 = self.compiler.compile_command('print 6*7', '?', mode, 0)
+            c1 = self.compiler.compile_command('print(6*7)', '?', mode, 0)
             c2 = self.compiler.compile_command('if 1:\n  x\n', '?', mode, 0)
             c8 = self.compiler.compile_command('x = 5', '?', mode, 0)
             c9 = self.compiler.compile_command('x = 5 ', '?', mode, 0)


More information about the pypy-commit mailing list