summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-10-15 15:48:51 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-10-15 15:48:51 (GMT)
commitb46fe797355d21fbf5c091abf25a0d9145976e5d (patch)
treedb16d962be136ade0b17e53323158110173784e6 /Lib
parentc3a9b3558833e03ec32c77b96b46dccb847d5ef0 (diff)
downloadcpython-b46fe797355d21fbf5c091abf25a0d9145976e5d.zip
cpython-b46fe797355d21fbf5c091abf25a0d9145976e5d.tar.gz
cpython-b46fe797355d21fbf5c091abf25a0d9145976e5d.tar.bz2
Print process instead of pid.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_multiprocessing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 2b3ddcf..d5582aa 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)