diff options
author | blhsing <blhsing@gmail.com> | 2024-06-11 05:42:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 05:42:49 (GMT) |
commit | 9e9ee50421c857b443e2060274f17fb884d54473 (patch) | |
tree | f6b285c1dc402467a0175bf91721a1d6a8fce1f5 /Misc | |
parent | 422c4fc855afd18bcc6415902ea1d85a50cb7ce1 (diff) | |
download | cpython-9e9ee50421c857b443e2060274f17fb884d54473.zip cpython-9e9ee50421c857b443e2060274f17fb884d54473.tar.gz cpython-9e9ee50421c857b443e2060274f17fb884d54473.tar.bz2 |
gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setattr__ (#120019)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-06-04-08-57-02.gh-issue-65454.o9j4wF.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-04-08-57-02.gh-issue-65454.o9j4wF.rst b/Misc/NEWS.d/next/Library/2024-06-04-08-57-02.gh-issue-65454.o9j4wF.rst new file mode 100644 index 0000000..0b232cf --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-06-04-08-57-02.gh-issue-65454.o9j4wF.rst @@ -0,0 +1 @@ +:func:`unittest.mock.Mock.attach_mock` no longer triggers a call to a ``PropertyMock`` being attached. |