Commit a9b2ca17 authored by Richard Oudkerk's avatar Richard Oudkerk

Print process instead of pid.

parent 69e007b3
...@@ -298,7 +298,7 @@ class _TestProcess(BaseTestCase): ...@@ -298,7 +298,7 @@ class _TestProcess(BaseTestCase):
if hasattr(signal, 'alarm'): if hasattr(signal, 'alarm'):
def handler(*args): 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) old_handler = signal.signal(signal.SIGALRM, handler)
try: try:
signal.alarm(10) signal.alarm(10)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment