]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98624 Add mutex to unittest.mock.NonCallableMock (#98688)
authornoah-weingarden <33741795+noah-weingarden@users.noreply.github.com>
Fri, 28 Oct 2022 07:51:18 +0000 (03:51 -0400)
committerGitHub <noreply@github.com>
Fri, 28 Oct 2022 07:51:18 +0000 (08:51 +0100)
commit0346eddbe933b5f1f56151bdebf5bd49392bc275
treea7213ba11ed95f3640ec85832ebf1c378b621cee
parentfbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9
gh-98624 Add mutex to unittest.mock.NonCallableMock (#98688)

* Added lock to NonCallableMock in unittest.mock

* Add blurb

* Nitpick blurb

* Edit comment based on @Jason-Y-Z's review

* Add link to GH issue
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst [new file with mode: 0644]