Commit 1848db89 authored by Victor Stinner's avatar Victor Stinner

Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing

parent 91e08772
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment