diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-05 12:49:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-05 12:49:46 (GMT) |
commit | 1848db891bd7faf7d864f862fab8a052d35d8ec3 (patch) | |
tree | af75b6360963c240c860e45613db33f71193e17e /Lib | |
parent | 91e08772a6da22166a2ad4ee52fecaf80df9e5e9 (diff) | |
download | cpython-1848db891bd7faf7d864f862fab8a052d35d8ec3.zip cpython-1848db891bd7faf7d864f862fab8a052d35d8ec3.tar.gz cpython-1848db891bd7faf7d864f862fab8a052d35d8ec3.tar.bz2 |
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ class ProcessTestCase(BaseTestCase): 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): |