Commit b78fed9e authored by Victor Stinner's avatar Victor Stinner

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

parent e790131d
......@@ -664,6 +664,8 @@ class _SuppressCoreFiles(object):
except (ImportError, ValueError, resource.error):
pass
@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