diff options
author | noah-weingarden <33741795+noah-weingarden@users.noreply.github.com> | 2022-10-28 07:51:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 07:51:18 (GMT) |
commit | 0346eddbe933b5f1f56151bdebf5bd49392bc275 (patch) | |
tree | a7213ba11ed95f3640ec85832ebf1c378b621cee /Misc | |
parent | fbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9 (diff) | |
download | cpython-0346eddbe933b5f1f56151bdebf5bd49392bc275.zip cpython-0346eddbe933b5f1f56151bdebf5bd49392bc275.tar.gz cpython-0346eddbe933b5f1f56151bdebf5bd49392bc275.tar.bz2 |
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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst b/Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst new file mode 100644 index 0000000..fb3a2b8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst @@ -0,0 +1,2 @@ +Add a mutex to unittest.mock.NonCallableMock to protect concurrent access +to mock attributes. |