diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 15d83e7d6d7..2bf49f2a10d 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -767,6 +767,8 @@ def test_communicate_epipe_only_stdin(self): time.sleep(2) p.communicate(b"x" * 2**20) + @unittest.skipUnless(hasattr(signal, 'SIGALRM'), + "Requires signal.SIGALRM") def test_communicate_eintr(self): # Issue #12493: communicate() should handle EINTR def handler(signum, frame):