mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
This commit is contained in:
parent
e790131dc6
commit
b78fed9ee6
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue