From: Victor Stinner Date: Wed, 3 May 2017 12:11:35 +0000 (+0200) Subject: bpo-24725: Skip the test_socket.testFDPassEmpty on OS X (#1427) X-Git-Tag: v3.5.4rc1~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e9c1101924bacf3ead03124b5c1e48551638360;p=thirdparty%2FPython%2Fcpython.git bpo-24725: Skip the test_socket.testFDPassEmpty on OS X (#1427) In OS X 10.11, the test fails consistently due to a platform change since 10.10. Thanks to Jeff Ramnani for the patch. (cherry picked from commit 3c61a448f106c7cafb050ff7be5c5c421273e68f) --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index c652c6fd0142..58c04d71045d 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -2844,6 +2844,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.