Author: Manuel Jacob
Branch: py3k
Changeset: r61596:e198fe7b0d06
Date: 2013-02-22 12:12 +0100
http://bitbucket.org/pypy/pypy/changeset/e198fe7b0d06/
Log: 2to3
diff --git a/pypy/interpreter/test/test_executioncontext.py
b/pypy/interpreter/test/test_executioncontext.py
--- a/pypy/interpreter/test/test_executioncontext.py
+++ b/pypy/interpreter/test/test_executioncontext.py
@@ -269,7 +269,7 @@
import gc
class X(object):
def __del__(self):
- print "Called", self.num
+ print("Called", self.num)
def f():
x1 = X(); x1.num = 1
x2 = X(); x2.num = 2
@@ -285,7 +285,7 @@
# test the behavior fixed in r71420: before, only one __del__
# would be called
import os, sys
- print sys.executable, self.tmpfile
+ print(sys.executable, self.tmpfile)
if sys.platform == "win32":
cmdformat = '"%s" "%s"'
else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit