Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52686:be8572d82a2f
Date: 2012-02-20 20:42 +0100
http://bitbucket.org/pypy/pypy/changeset/be8572d82a2f/

Log:    fix syntax

diff --git a/pypy/interpreter/test/test_main.py 
b/pypy/interpreter/test/test_main.py
--- a/pypy/interpreter/test/test_main.py
+++ b/pypy/interpreter/test/test_main.py
@@ -9,7 +9,7 @@
 testcode = """\
 def main():
     aStr = 'hello world'
-    print len(aStr)
+    print(len(aStr))
 
 main()
 """
@@ -20,7 +20,7 @@
 import sys
 if __name__ == '__main__':
     aStr = sys.argv[1]
-    print len(aStr)
+    print(len(aStr))
 """
 
 testresultoutput = '11\n'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to