Skip to content

Commit b46fe79

Browse files
committed
Print process instead of pid.
1 parent c3a9b35 commit b46fe79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_multiprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def test_terminate(self):
298298

299299
if hasattr(signal, 'alarm'):
300300
def handler(*args):
301-
raise RuntimeError('join took too long: pid=%s' % p.pid)
301+
raise RuntimeError('join took too long: %s' % p)
302302
old_handler = signal.signal(signal.SIGALRM, handler)
303303
try:
304304
signal.alarm(10)

0 commit comments

Comments
 (0)