Issue #14727: Fix race in test_multiprocessing
This commit is contained in:
parent
104b3f4bf7
commit
5d73c178a8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue