]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-76106: Remove the cleanup lock in test_socket (GH-110539) (GH-110700)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Oct 2023 11:13:06 +0000 (13:13 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 11:13:06 +0000 (11:13 +0000)
commit79b81d1825cde3e051aa43d9e27edfbaeda84fda
treed8bfc71a1a2a8309aa1f9390bc91ea33e50609a4
parenta8b2d12a258a72963beb86406c69eb928863a09b
[3.11] gh-76106: Remove the cleanup lock in test_socket  (GH-110539) (GH-110700)

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