Skip to content

Commit bfa1595

Browse files
[3.15] gh-155732: Join the terminated process in test_repr_lock (GH-155734) (#155766)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent a1b9786 commit bfa1595

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/_test_multiprocessing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,7 @@ def test_repr_lock(self):
15941594
event.wait()
15951595
self.assertEqual(f'<Lock(owner=SomeOtherProcess)>', repr(lock))
15961596
p.terminate()
1597+
p.join()
15971598

15981599
def test_lock(self):
15991600
lock = self.Lock()

0 commit comments

Comments
 (0)