8000 bpo-39850: Add support for abstract sockets in multiprocessing by pablogsal · Pull Request #18866 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-39850: Add support for abstract sockets in multiprocessing #18866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 9, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
8000 Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-Authored-By: Victor Stinner <vstinner@python.org>
  • Loading branch information
pablogsal and vstinner authored Mar 9, 2020
commit 9a862b5f2d7feb6efa9595d995718a04a68a98d0
4 changes: 2 additions & 2 deletions Lib/test/_test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3277,8 +3277,8 @@ def test_context(self):
@unittest.skipUnless(util.abstract_sockets_supported,
"test needs abstract socket support")
def test_abstract_socket(self):
with self.connection.Listener("\0something") as l:
with self.connection.Client(l.address) as c:
with self.connection.Listener("\0something") as listener:
with self.connection.Client(l.address) as client:
with l.accept() as d:
c.send(1729)
self.assertEqual(d.recv(), 1729)
Expand Down
0