]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setattr...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Jun 2024 06:07:25 +0000 (08:07 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2024 06:07:25 +0000 (06:07 +0000)
commitf6481925d80080f09c3bb264da7f5eedf0f86068
treef31ba1b9f7fc0f1682b3f2bec3a5f61ebea5e9d8
parentfa291a35eb29c53958aa5d2e2b58aea2441ffca8
[3.12] gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setattr__ (GH-120019) (#120337)

gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setattr__ (GH-120019)
(cherry picked from commit 9e9ee50421c857b443e2060274f17fb884d54473)

Co-authored-by: blhsing <blhsing@gmail.com>
Lib/test/test_unittest/testmock/testhelpers.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2024-06-04-08-57-02.gh-issue-65454.o9j4wF.rst [new file with mode: 0644]