diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-05 12:50:08 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-05 12:50:08 (GMT) |
commit | 5351a1f956d4d03bea00b650a0333b8eebd2b799 (patch) | |
tree | 84c89e242f9995e88cb2d36f459c813d23895549 /Lib | |
parent | d7772bc4cb42418f1fd347afe777fd7a6d5a7287 (diff) | |
parent | 1848db891bd7faf7d864f862fab8a052d35d8ec3 (diff) | |
download | cpython-5351a1f956d4d03bea00b650a0333b8eebd2b799.zip cpython-5351a1f956d4d03bea00b650a0333b8eebd2b799.tar.gz cpython-5351a1f956d4d03bea00b650a0333b8eebd2b799.tar.bz2 |
(merge 3.2) 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 15d83e7..2bf49f2 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -767,6 +767,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): |