Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index a17f2f7..f116356 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -664,6 +664,8 @@
         except (ImportError, ValueError, resource.error):
             pass
 
+    @unittest.skipUnless(hasattr(signal, 'SIGALRM'),
+                         "Requires signal.SIGALRM")
     def test_communicate_eintr(self):
         # Issue #12493: communicate() should handle EINTR
         def handler(signum, frame):