Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r63156:0c26a447f302
Date: 2013-04-08 15:34 -0700
http://bitbucket.org/pypy/pypy/changeset/0c26a447f302/

Log:    py3 compat

diff --git a/pypy/module/pyexpat/test/test_parser.py 
b/pypy/module/pyexpat/test/test_parser.py
--- a/pypy/module/pyexpat/test/test_parser.py
+++ b/pypy/module/pyexpat/test/test_parser.py
@@ -40,7 +40,7 @@
         import pyexpat
         for encoding_arg in (None, 'utf-8', 'iso-8859-1'):
             for namespace_arg in (None, '{'):
-                print encoding_arg, namespace_arg
+                print(encoding_arg, namespace_arg)
                 p = pyexpat.ParserCreate(encoding_arg, namespace_arg)
                 data = []
                 p.CharacterDataHandler = lambda s: data.append(s)
@@ -205,7 +205,7 @@
 
         try:
             for event, node in stream:
-                print event, node
+                print(event, node)
         except DTDForbidden:
             pass
         else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to