@@ -2881,7 +2881,6 @@ def _testSendmsgAncillaryGenerator(self):
28812881 self .assertEqual (self .sendmsgToServer ([MSG ], (o for o in [])),
28822882 len (MSG ))
28832883
2884- @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
28852884 def testSendmsgArray (self ):
28862885 # Send data from an array instead of the usual bytes object.
28872886 self .assertEqual (self .serv_sock .recv (len (MSG )), MSG )
@@ -2890,7 +2889,6 @@ def _testSendmsgArray(self):
28902889 self .assertEqual (self .sendmsgToServer ([array .array ("B" , MSG )]),
28912890 len (MSG ))
28922891
2893- @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
28942892 def testSendmsgGather (self ):
28952893 # Send message data from more than one buffer (gather write).
28962894 self .assertEqual (self .serv_sock .recv (len (MSG )), MSG )
@@ -2953,7 +2951,6 @@ def _testSendmsgBadMultiCmsg(self):
29532951 [MSG ], [(0 , 0 , b"" ), object ()])
29542952 self .sendToServer (b"done" )
29552953
2956- @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
29572954 def testSendmsgExcessCmsgReject (self ):
29582955 # Check that sendmsg() rejects excess ancillary data items
29592956 # when the number that can be sent is limited.
@@ -4413,6 +4410,7 @@ class SendrecvmsgUnixStreamTestBase(SendrecvmsgConnectedBase,
44134410 ConnectedStreamTestMixin , UnixStreamBase ):
44144411 pass
44154412
4413+ @unittest .skipIf (sys .platform == "darwin" , "flaky on macOS" )
44164414@requireAttrs (socket .socket , "sendmsg" )
44174415@requireAttrs (socket , "AF_UNIX" )
44184416class SendmsgUnixStreamTest (SendmsgStreamTests , SendrecvmsgUnixStreamTestBase ):
0 commit comments