]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131692)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Mar 2025 21:05:55 +0000 (22:05 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Mar 2025 21:05:55 +0000 (21:05 +0000)
commitc22eef44d8b1d2828108b49a735359917ad1da79
tree595f05d7262a61eba0d0acfbaafc111f6b8554b6
parent349209841804e68d055af0046163de09ce68f723
[3.13] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131692)

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