diff -r 39b9b05c3085 Lib/test/test_socket.py --- a/Lib/test/test_socket.py Wed Apr 10 00:27:23 2013 +0200 +++ b/Lib/test/test_socket.py Tue Apr 09 21:57:07 2013 -0500 @@ -2610,7 +2610,7 @@ self.createAndSendFDs(1) # Issue #12958: The following test has problems on Mac OS X - @support.anticipate_failure(sys.platform == "darwin") + @unittest.skipIf(sys.platform == "darwin", "Issue #12958: This test has problems on Mac OS X") @requireAttrs(socket, "CMSG_SPACE") def testFDPassSeparate(self): # Pass two FDs in two separate arrays. Arrays may be combined @@ -2620,7 +2620,7 @@ maxcmsgs=2) @testFDPassSeparate.client_skip - @support.anticipate_failure(sys.platform == "darwin") + @unittest.skipIf(sys.platform == "darwin", "Issue #12958: This test has problems on Mac OS X") def _testFDPassSeparate(self): fd0, fd1 = self.newFDs(2) self.assertEqual( @@ -2633,7 +2633,7 @@ len(MSG)) # Issue #12958: The following test has problems on Mac OS X - @support.anticipate_failure(sys.platform == "darwin") + @unittest.skipIf(sys.platform == "darwin", "Issue #12958: This test has problems on Mac OS X") @requireAttrs(socket, "CMSG_SPACE") def testFDPassSeparateMinSpace(self): # Pass two FDs in two separate arrays, receiving them into the @@ -2645,7 +2645,7 @@ maxcmsgs=2, ignoreflags=socket.MSG_CTRUNC) @testFDPassSeparateMinSpace.client_skip - @support.anticipate_failure(sys.platform == "darwin") + @unittest.skipIf(sys.platform == "darwin", "Issue #12958: This test has problems on Mac OS X") def _testFDPassSeparateMinSpace(self): fd0, fd1 = self.newFDs(2) self.assertEqual(