Skip to content

feat: option to hide pluggy frames even with --full-trace#14708

Draft
pctablet505 wants to merge 1 commit into
pytest-dev:mainfrom
pctablet505:fix-9509-hide-pluggy-full-trace
Draft

feat: option to hide pluggy frames even with --full-trace#14708
pctablet505 wants to merge 1 commit into
pytest-dev:mainfrom
pctablet505:fix-9509-hide-pluggy-full-trace

Conversation

@pctablet505

@pctablet505 pctablet505 commented Jul 15, 2026

Copy link
Copy Markdown

Fixes #9509.

Adds --tb-hide-internal as a companion to --full-trace so the long traceback can be shown without pytest/pluggy and dynamically generated frames. The default --full-trace behavior is unchanged.

Includes regression tests, docs, and a changelog entry.

Added --tb-hide-internal option that, when used together with --full-trace,
hides pytest/pluggy internal frames from the traceback while still showing
the full user-written traceback.

Fixes pytest-dev#9509
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Jul 15, 2026
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.

Option to hide pluggy even with --full-trace is used

1 participant