Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43cbbe2

Browse files
committed
Issue #22397: Skip failing tests on AIX
Patch from David Edelsohn.
1 parent 4c0a09a commit 43cbbe2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/test/test_socket.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,6 +2741,7 @@ def _testFDPassCMSG_LEN(self):
27412741
self.createAndSendFDs(1)
27422742

27432743
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
2744+
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
27442745
@requireAttrs(socket, "CMSG_SPACE")
27452746
def testFDPassSeparate(self):
27462747
# Pass two FDs in two separate arrays. Arrays may be combined
@@ -2751,6 +2752,7 @@ def testFDPassSeparate(self):
27512752

27522753
@testFDPassSeparate.client_skip
27532754
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
2755+
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
27542756
def _testFDPassSeparate(self):
27552757
fd0, fd1 = self.newFDs(2)
27562758
self.assertEqual(
@@ -2763,6 +2765,7 @@ def _testFDPassSeparate(self):
27632765
len(MSG))
27642766

27652767
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
2768+
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
27662769
@requireAttrs(socket, "CMSG_SPACE")
27672770
def testFDPassSeparateMinSpace(self):
27682771
# Pass two FDs in two separate arrays, receiving them into the
@@ -2775,6 +2778,7 @@ def testFDPassSeparateMinSpace(self):
27752778

27762779
@testFDPassSeparateMinSpace.client_skip
27772780
@unittest.skipIf(sys.platform == "darwin", "skipping, see issue #12958")
2781+
@unittest.skipIf(sys.platform.startswith("aix"), "skipping, see issue #22397")
27782782
def _testFDPassSeparateMinSpace(self):
27792783
fd0, fd1 = self.newFDs(2)
27802784
self.assertEqual(

0 commit comments

Comments
 (0)