From b46fe797355d21fbf5c091abf25a0d9145976e5d Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Tue, 15 Oct 2013 16:48:51 +0100 Subject: [PATCH] Print process instead of pid. --- Lib/test/test_multiprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3