Author: Ronny Pfannschmidt <[email protected]>
Branch: py3ksupport
Changeset: r143:b135d7b5a777
Date: 2011-10-19 10:27 +0200
http://bitbucket.org/pypy/pyrepl/changeset/b135d7b5a777/

Log:    py3 save testing infrastructure

diff --git a/testing/infrastructure.py b/testing/infrastructure.py
--- a/testing/infrastructure.py
+++ b/testing/infrastructure.py
@@ -17,6 +17,7 @@
 # CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
+from __future__ import print_function
 from pyrepl.reader import Reader
 from pyrepl.console import Console, Event
 
@@ -47,7 +48,7 @@
             ev = (ev, None)
         self.last_event_name = ev[0]
         if self.verbose:
-            print "event", ev
+            print("event", ev)
         return Event(*ev)
 
 class TestReader(Reader):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to