]> granicus.if.org Git - python/commitdiff
bpo-24725: Skip the test_socket.testFDPassEmpty on OS X (#1427)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 May 2017 12:11:35 +0000 (14:11 +0200)
committerGitHub <noreply@github.com>
Wed, 3 May 2017 12:11:35 +0000 (14:11 +0200)
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)

Lib/test/test_socket.py

index c652c6fd01428ff6c27c888492e863ce605dcd7a..58c04d71045d562aa514df18871c1ef4e117ea7a 100644 (file)
@@ -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.