summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-08-02 22:36:04 (GMT)
committerRobert Collins <rbtcollins@hp.com>2015-08-02 22:36:04 (GMT)
commit43cbbe21a7c0683b45334d9c979d612525cd1435 (patch)
tree4684c09a9be75f5ccdcff2397fa3ef00a7e34d30
parent4c0a09a0c96d3027ccb4e395ac9bd9dae5db33f1 (diff)
downloadcpython-43cbbe21a7c0683b45334d9c979d612525cd1435.zip
cpython-43cbbe21a7c0683b45334d9c979d612525cd1435.tar.gz
cpython-43cbbe21a7c0683b45334d9c979d612525cd1435.tar.bz2
Issue #22397: Skip failing tests on AIX
Patch from David Edelsohn.
-rw-r--r--Lib/test/test_socket.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index c8a3623..cc8da17 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -2741,6 +2741,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
self.createAndSendFDs(1)
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
+ @unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
@requireAttrs(socket, "CMSG_SPACE")
def testFDPassSeparate(self):
# Pass two FDs in two separate arrays. Arrays may be combined
@@ -2751,6 +2752,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
@testFDPassSeparate.client_skip
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
+ @unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
def _testFDPassSeparate(self):
fd0, fd1 = self.newFDs(2)
self.assertEqual(
@@ -2763,6 +2765,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
len(MSG))
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
+ @unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
@requireAttrs(socket, "CMSG_SPACE")
def testFDPassSeparateMinSpace(self):
# Pass two FDs in two separate arrays, receiving them into the
@@ -2775,6 +2778,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase):
@testFDPassSeparateMinSpace.client_skip
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
+ @unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
def _testFDPassSeparateMinSpace(self):
fd0, fd1 = self.newFDs(2)
self.assertEqual(