mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user