Repository navigation
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 <[email protected]>
|
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. |
…56981) (cherry picked from commit e620377) Co-authored-by: Ivy Xu <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
…56982) (cherry picked from commit e620377) Co-authored-by: Ivy Xu <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
…56983) gh-156970: Set `Mock.return_value`'s docstring (GH-156971) (cherry picked from commit e620377) Co-authored-by: Ivy Xu <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
return_valuedocstring is set incorrectly inunittest.mock.NonCallableMock#156970