Commits

Manuel Jacob committed e198fe7

2to3

  • Participants
  • Parent commits 53becf1
  • Branches py3k

Comments (0)

Files changed (1)

pypy/interpreter/test/test_executioncontext.py

 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
         # 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: