Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
nicoddemus merged 1 commit into
pytest-dev:mainfrom
nicoddemus:6682-abbrev-verbosity
Aug 5, 2024
Merged

Obey verbosity level when printing 'msg' part of assertions#12662
nicoddemus merged 1 commit into
pytest-dev:mainfrom
nicoddemus:6682-abbrev-verbosity

Conversation

@nicoddemus

@nicoddemus nicoddemus commented Jul 25, 2024

Copy link
Copy Markdown
Member

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
@nicoddemus

Copy link
Copy Markdown
Member Author

Gentle ping @RonnyPfannschmidt @bluetech @Pierre-Sassoulas

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

(I liked the regex check, very elegant)

@nicoddemus nicoddemus merged commit bc1e17e into pytest-dev:main Aug 5, 2024
@patchback

patchback Bot commented Aug 5, 2024

Copy link
Copy Markdown

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

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