[pypy-commit] pyrepl py3ksupport: py3 save testing infrastructure
RonnyPfannschmidt
noreply at buildbot.pypy.org
Wed Oct 19 10:44:56 CEST 2011
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
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):
More information about the pypy-commit
mailing list