-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docs for assert_called and assert_called_once #15197
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for catching this. cc: @cjw296 @mariocj89
@cjw296: Please replace |
@cjw296 Could this be backported to 3.8 and 3.7 since this is a doc fix? @miss-islington will take care of it as labels are added. Thanks for the merge :) |
I'm having trouble backporting to |
GH-15218 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit f9590ed) Co-authored-by: Ismail S <ismail-s@users.noreply.github.com>
(cherry picked from commit f9590ed) Co-authored-by: Ismail S <ismail-s@users.noreply.github.com>
GH-15219 is a backport of this pull request to the 3.8 branch. |
The code that this part of the docs documents is:
cpython/Lib/unittest/mock.py
Lines 838 to 846 in 7d44e7a