From: Richard Oudkerk Date: Tue, 15 Oct 2013 15:48:51 +0000 (+0100) Subject: Print process instead of pid. X-Git-Tag: v3.4.0a4~99^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b46fe797355d21fbf5c091abf25a0d9145976e5d;p=thirdparty%2FPython%2Fcpython.git Print process instead of pid. --- diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 2b3ddcfcda7b..d5582aab8204 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -298,7 +298,7 @@ class _TestProcess(BaseTestCase): 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)