This commit is contained in:
Richard Oudkerk 2013-10-15 16:49:59 +01:00
commit bc2bfa6b68

View file

@ -301,7 +301,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)