Commit 5d73c178 authored by Richard Oudkerk's avatar Richard Oudkerk

Issue #14727: Fix race in test_multiprocessing

parent 104b3f4b
......@@ -2003,8 +2003,8 @@ class _TestPicklingConnections(BaseTestCase):
l = socket.socket()
l.bind(('localhost', 0))
conn.send(l.getsockname())
l.listen(1)
conn.send(l.getsockname())
new_conn, addr = l.accept()
conn.send(new_conn)
new_conn.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment