Skip to content

Commit 9a862b5

Browse files
pablogsalvstinner
andauthored
Apply suggestions from code review
Co-Authored-By: Victor Stinner <[email protected]>
1 parent 5957b9b commit 9a862b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3277,8 +3277,8 @@ def test_context(self):
32773277
@unittest.skipUnless(util.abstract_sockets_supported,
32783278
"test needs abstract socket support")
32793279
def test_abstract_socket(self):
3280-
with self.connection.Listener("\0something") as l:
3281-
with self.connection.Client(l.address) as c:
3280+
with self.connection.Listener("\0something") as listener:
3281+
with self.connection.Client(l.address) as client:
32823282
with l.accept() as d:
32833283
c.send(1729)
32843284
self.assertEqual(d.recv(), 1729)

0 commit comments

Comments
 (0)