Skip to content

Conversation

@vabr-g
Copy link
Contributor

@vabr-g vabr-g commented Dec 10, 2020

This is a follow-up to
4662fa9.
That original commit expanded guards against misspelling assertions on
mocks. This follow-up updates the documentation and improves the error
message by pointing out the potential cause and solution.

https://bugs.python.org/issue41877

Automerge-Triggered-By: GH:gpshead

This is a follow-up to
4662fa9.
That original commit expanded guards against misspelling assertions on
mocks. This follow-up updates the documentation and improves the error
message by pointing out the potential cause and solution.
@gpshead gpshead added 🤖 automerge docs Documentation in the Doc dir labels Dec 10, 2020
Copy link
Member

@gpshead gpshead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I switched the error message code to use an f-string. this should autosubmit once tests on that pass.

@vabr-g
Copy link
Contributor Author

vabr-g commented Dec 10, 2020

Thank you. The change to f-string looks good.

@miss-islington
Copy link
Contributor

@vabr-g: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 9fc5713 into python:master Dec 10, 2020
@vabr-g vabr-g deleted the issue-41877-better-docs branch December 10, 2020 19:29
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…GH-23729)

This is a follow-up to
python@4662fa9.
That original commit expanded guards against misspelling assertions on
mocks. This follow-up updates the documentation and improves the error
message by pointing out the potential cause and solution.

Automerge-Triggered-By: GH:gpshead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants