@@ -2881,6 +2881,7 @@ def _testSendmsgAncillaryGenerator(self):
2881
2881
self .assertEqual (self .sendmsgToServer ([MSG ], (o for o in [])),
2882
2882
len (MSG ))
2883
2883
2884
+ @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
2884
2885
def testSendmsgArray (self ):
2885
2886
# Send data from an array instead of the usual bytes object.
2886
2887
self .assertEqual (self .serv_sock .recv (len (MSG )), MSG )
@@ -2889,6 +2890,7 @@ def _testSendmsgArray(self):
2889
2890
self .assertEqual (self .sendmsgToServer ([array .array ("B" , MSG )]),
2890
2891
len (MSG ))
2891
2892
2893
+ @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
2892
2894
def testSendmsgGather (self ):
2893
2895
# Send message data from more than one buffer (gather write).
2894
2896
self .assertEqual (self .serv_sock .recv (len (MSG )), MSG )
@@ -2951,6 +2953,7 @@ def _testSendmsgBadMultiCmsg(self):
2951
2953
[MSG ], [(0 , 0 , b"" ), object ()])
2952
2954
self .sendToServer (b"done" )
2953
2955
2956
+ @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
2954
2957
def testSendmsgExcessCmsgReject (self ):
2955
2958
# Check that sendmsg() rejects excess ancillary data items
2956
2959
# when the number that can be sent is limited.
0 commit comments