Commits

Philip Jenvey committed 4fd8ae7

2to3

Comments (0)

Files changed (1)

pypy/module/__pypy__/test/test_signal.py

                 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)
                 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