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
unittest.mock.sentinel documentation typo #88845
Labels
docs
Documentation in the Doc dir
Comments
here:
https://docs.python.org/3.3/library/unittest.mock.html#sentinel
in code example block in last command line
>>> sentinel.some_object
according to the above 26.4.5.1 article context it looks like the other commad is expected:
>>> result
To ensure that at the end "result" equals sentinel.some_object we probably should print the "result" value to check, not the "sentinel.some_object" itself. |
@gaydayav I agree. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: