https://github.com/python/cpython/commit/bfa1595c677106e9dad928a3a2b80f16222e4f81
commit: bfa1595c677106e9dad928a3a2b80f16222e4f81
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-08-27T15:57:55+03:00
summary:

[3.15] gh-155732: Join the terminated process in test_repr_lock (GH-155734) 
(#155766)

Co-authored-by: Serhiy Storchaka <[email protected]>

files:
M Lib/test/_test_multiprocessing.py

diff --git a/Lib/test/_test_multiprocessing.py 
b/Lib/test/_test_multiprocessing.py
index 580d9f2b32544e..90e07c0d3e4609 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1594,6 +1594,7 @@ def test_repr_lock(self):
         event.wait()
         self.assertEqual(f'<Lock(owner=SomeOtherProcess)>', repr(lock))
         p.terminate()
+        p.join()
 
     def test_lock(self):
         lock = self.Lock()

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to