[Python-checkins] cpython: Issue #24725: Skip the test_socket.testFDPassEmpty on OS X.

brett.cannon python-checkins at python.org
Mon Dec 28 20:18:27 EST 2015


https://hg.python.org/cpython/rev/b4c6631737b3
changeset:   99705:b4c6631737b3
parent:      99703:510ff609cb4f
user:        Brett Cannon <brett at python.org>
date:        Mon Dec 28 17:17:58 2015 -0800
summary:
  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.

files:
  Lib/test/test_socket.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -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.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list