[Python-checkins] cpython (3.3): Print process instead of pid.

richard.oudkerk python-checkins at python.org
Tue Oct 15 17:52:55 CEST 2013


http://hg.python.org/cpython/rev/82aab9b1066d
changeset:   86379:82aab9b1066d
branch:      3.3
parent:      86374:865bab7387f2
user:        Richard Oudkerk <shibturn at gmail.com>
date:        Tue Oct 15 16:48:51 2013 +0100
summary:
  Print process instead of pid.

files:
  Lib/test/test_multiprocessing.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -298,7 +298,7 @@
 
         if hasattr(signal, 'alarm'):
             def handler(*args):
-                raise RuntimeError('join took too long: pid=%s' % p.pid)
+                raise RuntimeError('join took too long: %s' % p)
             old_handler = signal.signal(signal.SIGALRM, handler)
             try:
                 signal.alarm(10)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list