(original) (raw)

changeset: 99705:b4c6631737b3 parent: 99703:510ff609cb4f user: Brett Cannon brett@python.org date: Mon Dec 28 17:17:58 2015 -0800 files: Lib/test/test_socket.py description: 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 -r 510ff609cb4f -r b4c6631737b3 Lib/test/test_socket.py --- a/Lib/test/test_socket.py Tue Dec 29 00:11:36 2015 +0100 +++ b/Lib/test/test_socket.py Mon Dec 28 17:17:58 2015 -0800 @@ -2809,6 +2809,7 @@ 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. /brett@python.org