]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-76106: Remove the cleanup lock in test_socket (GH-110539) (GH-110699)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Oct 2023 11:15:44 +0000 (13:15 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 11:15:44 +0000 (11:15 +0000)
commitbfb1f00926b4aa524c0028e440a3e9e2ef2fc5ad
treec0ea9fd1b64e34da8a948927c7b9264a32f1c8e2
parent1ea4cb1a66ee79a13eef4712159d41542d1218f4
[3.12] gh-76106: Remove the cleanup lock in test_socket  (GH-110539) (GH-110699)

It does not already work (because it locks only addCleanup(), not doCleanups()),
and it is no longer needed since the clean up procedure waits for all test threads to join.
(cherry picked from commit f27b83090701b9c215e0d65f1f924fb9330cb649)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_socket.py