diff -r 1696e2789d91 Lib/test/test_socket.py --- a/Lib/test/test_socket.py Wed Aug 24 02:15:25 2011 +0200 +++ b/Lib/test/test_socket.py Wed Aug 24 18:36:22 2011 +0200 @@ -2090,7 +2090,9 @@ def _testFDPassCMSG_LEN(self): self.createAndSendFDs(1) + # Passing multiple FDs at once isn't reliable on OS X < 10.5. @requireAttrs(socket, "CMSG_SPACE") + @support.requires_mac_ver(10, 5) def testFDPassSeparate(self): # Pass two FDs in two separate arrays. Arrays may be combined # into a single control message by the OS. @@ -2111,6 +2113,7 @@ len(MSG)) @requireAttrs(socket, "CMSG_SPACE") + @support.requires_mac_ver(10, 5) def testFDPassSeparateMinSpace(self): # Pass two FDs in two separate arrays, receiving them into the # minimum space for two arrays.