[pypy-commit] pypy py3k: 2to3

pjenvey noreply at buildbot.pypy.org
Sun Feb 17 20:25:53 CET 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r61354:4fd8ae7b9746
Date: 2013-02-17 11:23 -0800
http://bitbucket.org/pypy/pypy/changeset/4fd8ae7b9746/

Log:	2to3

diff --git a/pypy/module/__pypy__/test/test_signal.py b/pypy/module/__pypy__/test/test_signal.py
--- a/pypy/module/__pypy__/test/test_signal.py
+++ b/pypy/module/__pypy__/test/test_signal.py
@@ -22,7 +22,7 @@
                 with __pypy__.thread.signals_enabled:
                     thread.interrupt_main()
                     for i in range(10):
-                        print 'x'
+                        print('x')
                         time.sleep(0.1)
             except BaseException, e:
                 interrupted.append(e)
@@ -40,7 +40,7 @@
                 thread.start_new_thread(subthread, ())
                 for i in range(10):
                     if len(done): break
-                    print '.'
+                    print('.')
                     time.sleep(0.1)
                 assert len(done) == 1
                 assert len(interrupted) == 1


More information about the pypy-commit mailing list