From c6637a507a46bb73d08374f56993064be0d0fae0 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Tue, 14 Dec 2010 18:20:45 +0000 Subject: [PATCH] SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD). --- Lib/test/subprocessdata/sigchild_ignore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/subprocessdata/sigchild_ignore.py b/Lib/test/subprocessdata/sigchild_ignore.py index 1d03303e44..6072aece28 100644 --- a/Lib/test/subprocessdata/sigchild_ignore.py +++ b/Lib/test/subprocessdata/sigchild_ignore.py @@ -2,5 +2,5 @@ import signal, subprocess, sys # On Linux this causes os.waitpid to fail with OSError as the OS has already # reaped our child process. The wait() passing the OSError on to the caller # and causing us to exit with an error is what we are testing against. -signal.signal(signal.SIGCLD, signal.SIG_IGN) +signal.signal(signal.SIGCHLD, signal.SIG_IGN) subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait() -- 2.40.0