gh-156970: Set the docstring of Mock.return_value correctly - #156971
Conversation
Mock.return_value correctly.Mock.return_value correctly
StanFromIreland
left a comment
There was a problem hiding this comment.
LGTM, just one little nit.
Co-authored-by: Stan Ulbrych <stan@python.org>
|
Since this is technically a new feature, I'm not going to backport. |
|
Although thinking about it further, I will, because it's currently passed as fdel (technically, deletion is intercepted by |
|
Thanks @ByteFlowing1337 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @ByteFlowing1337 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @ByteFlowing1337 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-156981 is a backport of this pull request to the 3.13 branch. |
|
GH-156982 is a backport of this pull request to the 3.14 branch. |
|
GH-156983 is a backport of this pull request to the 3.15 branch. |
return_valuedocstring is set incorrectly inunittest.mock.NonCallableMock#156970