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

doc: add missing changelog for #10907 #10919

Merged
merged 1 commit into from Apr 16, 2023

Conversation

bluetech
Copy link
Member

I forgot to git add the changelog for #10907.

@bluetech bluetech enabled auto-merge April 16, 2023 15:23
Copy link
Contributor

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

Small suggestion for terseness.

Comment on lines +1 to +5
When an exception traceback to be displayed is completely filtered out (by mechanisms such as ``__tracebackhide__``, internal frames, and similar), now only the exception string and the following message are shown:

"All traceback entries are hidden. Pass `--full-trace` to see hidden and internal frames.".

Previously, the last frame of the traceback was shown, even though it was hidden.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When an exception traceback to be displayed is completely filtered out (by mechanisms such as ``__tracebackhide__``, internal frames, and similar), now only the exception string and the following message are shown:
"All traceback entries are hidden. Pass `--full-trace` to see hidden and internal frames.".
Previously, the last frame of the traceback was shown, even though it was hidden.
The last frame of the traceback is not mistakenly shown anymore when exceptions tracebacks are completely filtered out (by mechanisms such as ``__tracebackhide__``, internal frames, and similar) without the `--full-trace` option.

Copy link
Member Author

Choose a reason for hiding this comment

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

@Pierre-Sassoulas thanks for the review, the PR was on auto-merge so merged before I could reply.

I did want to explictly mention the complete message, for the benefit of users searching the string in search engines and such.

Copy link
Contributor

Choose a reason for hiding this comment

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

Make sense ! No problem it was a nit anyway.

@bluetech bluetech merged commit adf891a into pytest-dev:main Apr 16, 2023
25 checks passed
@bluetech bluetech deleted the missing-changelog branch April 16, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants