]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131693)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Mar 2025 20:59:03 +0000 (21:59 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Mar 2025 20:59:03 +0000 (20:59 +0000)
commite78280d0de81233b72ca4bc3c39fb7b1ada3a92c
treeae72f9aa7942c68b9345d99b660faa9dc7b99bb6
parent76e911a040aaf16f0c76b7d2a2f29582cb98c32d
[3.12] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131693)

The call to `with self.subTest(...)` was not thread-safe.
(cherry picked from commit a1232459860235f4fb7896cc95966d87a51cbe32)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_functools.py