From: Brett Cannon Date: Tue, 29 Dec 2015 01:17:58 +0000 (-0800) Subject: Issue #24725: Skip the test_socket.testFDPassEmpty on OS X. X-Git-Tag: v3.6.0a1~850 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c61a448f106c7cafb050ff7be5c5c421273e68f;p=python Issue #24725: Skip the test_socket.testFDPassEmpty on OS X. In OS X 10.11, the test fails consistently due to a platform change since 10.10. Thanks to Jeff Ramnani for the patch. --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 1e355ea8fe..ad1efb2818 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -2809,6 +2809,7 @@ class SCMRightsTest(SendrecvmsgServerTimeoutBase): nbytes = self.sendmsgToServer([msg]) self.assertEqual(nbytes, len(msg)) + @unittest.skipIf(sys.platform == "darwin", "skipping, see issue #24725") def testFDPassEmpty(self): # Try to pass an empty FD array. Can receive either no array # or an empty array.