Skip to content

Commit 3d36def

Browse files
committed
gh-150175: Add correctly formatted news entry
1 parent 6bb8347 commit 3d36def

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Fix race condition in :class:`unittest.mock.ThreadingMock` where concurrent
2+
calls could lose increments to ``call_count`` and other attributes. Fixed by
3+
overriding ``_increment_mock_call`` in
4+
:class:`~unittest.mock.ThreadingMixin` with the existing lock.

Misc/NEWS.d/next/Library/2026-05-21-fix-threadingmock-race.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)