-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
documentation: still no assertion introspection if assertion has message? #11265
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
Comments
calestyo
added a commit
to calestyo/pytest
that referenced
this issue
Aug 5, 2023
It was pointed out[0] that the previous behaviour has been obsoleted by commit 37bd1e0. [0] pytest-dev#11265 (comment) Signed-off-by: Christoph Anton Mitterer <[email protected]>
@The-Compiler I didn't remove the sentence but merely replace it with the information that the message is printed, too. Think it's actually valuable to know that, thus better than removing. |
The-Compiler
pushed a commit
that referenced
this issue
Aug 5, 2023
It was pointed out[0] that the previous behaviour has been obsoleted by commit 37bd1e0. [0] #11265 (comment) Signed-off-by: Christoph Anton Mitterer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey.
Sorry if I miss something obvious and just make noise... O:-)
https://docs.pytest.org/en/7.4.x/how-to/assert.html claims:
But when I try this, then introspection does seem to happen i.e. I see e.g.:
just with the additional message.
Could it be that this has changed at some point in time but documentation wasn't updated?
Thanks,
Chris.
The text was updated successfully, but these errors were encountered: