Skip to content
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

Obey verbosity level when printing 'msg' part of assertions #12662

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

nicoddemus
Copy link
Member

@nicoddemus nicoddemus commented Jul 25, 2024

Seems like we just missed that case when more fine-grained verbosity levels were added.

Fixes #6682, #12307

Seems like we just missed that case when more fine-grained verbosity levels were added.

Fixes pytest-dev#6682
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Jul 25, 2024
@nicoddemus nicoddemus added the backport 8.3.x apply to PRs at any point; backports the changes to the 8.3.x branch label Jul 25, 2024
@nicoddemus
Copy link
Member Author

Gentle ping @RonnyPfannschmidt @bluetech @Pierre-Sassoulas

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

LGTM

@Pierre-Sassoulas
Copy link
Member

(I liked the regex check, very elegant)

@nicoddemus nicoddemus merged commit bc1e17e into pytest-dev:main Aug 5, 2024
29 checks passed
Copy link

patchback bot commented Aug 5, 2024

Backport to 8.3.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/8.3.x/bc1e17e90c5324797b4ebc5fd229d2662ad15e6e/pr-12662

Backported as #12687

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@nicoddemus nicoddemus deleted the 6682-abbrev-verbosity branch August 5, 2024 13:40
patchback bot pushed a commit that referenced this pull request Aug 5, 2024
Seems like we just missed that case when more fine-grained verbosity levels were added.

Fixes #6682, #12307

(cherry picked from commit bc1e17e)
nicoddemus added a commit that referenced this pull request Aug 5, 2024
…12687)

Seems like we just missed that case when more fine-grained verbosity levels were added.

Fixes #6682, #12307

(cherry picked from commit bc1e17e)

Co-authored-by: Bruno Oliveira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 8.3.x apply to PRs at any point; backports the changes to the 8.3.x branch bot:chronographer:provided (automation) changelog entry is part of PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document way to customize abbreviation (elipsis) on AssertionError
3 participants