mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Issue #14727: Fix race in test_multiprocessing
This commit is contained in:
parent
104b3f4bf7
commit
5d73c178a8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue