Skip to content

Commit 94a69e6

Browse files
[3.13] gh-155732: Join the terminated process in test_repr_lock (GH-155734) (GH-155768)
The process was terminated, but not joined, so it was still reported as a dangling process. (cherry picked from commit 3c414a5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent f61481f commit 94a69e6

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
@@ -1493,6 +1493,7 @@ def test_repr_lock(self):
14931493
event.wait()
14941494
self.assertEqual(f'<Lock(owner=SomeOtherProcess)>', repr(lock))
14951495
p.terminate()
1496+
p.join()
14961497

14971498
def test_lock(self):
14981499
lock = self.Lock()

0 commit comments

Comments
 (0)