commit | 1848db891bd7faf7d864f862fab8a052d35d8ec3 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jul 05 14:49:46 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jul 05 14:49:46 2011 +0200 |
tree | af75b6360963c240c860e45613db33f71193e17e | |
parent | 91e08772a6da22166a2ad4ee52fecaf80df9e5e9 [diff] [blame] |
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 78e7a0e..08f0ecf 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py
@@ -675,6 +675,8 @@ 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):