]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-123934: Fix `MagicMock` not to reset magic method return values (GH-124038...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 01:11:03 +0000 (03:11 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 01:11:03 +0000 (18:11 -0700)
commit0a868db982f1331f3c9b88f9b611b9050436a43c
treec37a632040326ffe47f135197b062a3614a92861
parentdceac5b8ea064671aa07b6cb35842955684555f1
[3.13] gh-123934: Fix `MagicMock` not to reset magic method return values (GH-124038) (#124231)

gh-123934: Fix `MagicMock` not to reset magic method return values (GH-124038)
(cherry picked from commit 7628f67d55cb65bad9c9266e0457e468cd7e3775)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/test/test_unittest/testmock/testmagicmethods.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2024-09-13-10-34-19.gh-issue-123934.yMe7mL.rst [new file with mode: 0644]