changeset: 71234:4928cf093a11 parent: 71232:2fbfb7ea362f parent: 71233:807921ba241d user: Victor Stinner date: Tue Jul 05 14:50:08 2011 +0200 files: Lib/test/test_subprocess.py description: (merge 3.2) Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing diff -r 2fbfb7ea362f -r 4928cf093a11 Lib/test/test_subprocess.py --- a/Lib/test/test_subprocess.py Tue Jul 05 14:31:28 2011 +0200 +++ b/Lib/test/test_subprocess.py Tue Jul 05 14:50:08 2011 +0200 @@ -767,6 +767,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):