Issue #14669: Fix pickling of connections and sockets on MacOSX

by sending/receiving an acknowledgment after file descriptor transfer.
TestPicklingConnection has been reenabled for MacOSX.
This commit is contained in:
Richard Oudkerk 2012-08-16 16:48:55 +01:00
parent 69a06dd59d
commit 04ec8ce1bb
3 changed files with 12 additions and 2 deletions

View file

@ -2446,8 +2446,6 @@ class _TestPoll(unittest.TestCase):
# Test of sending connection and socket objects between processes
#
# Intermittent fails on Mac OS X -- see Issue14669 and Issue12958
@unittest.skipIf(sys.platform == "darwin", "fd passing unreliable on Mac OS X")
@unittest.skipUnless(HAS_REDUCTION, "test needs multiprocessing.reduction")
class _TestPicklingConnections(BaseTestCase):