Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
This commit is contained in:
parent
e790131dc6
commit
b78fed9ee6
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue