Skip to content

Allow fixture and marker listing without required plugin options - #15158

Open
Sagar07-star wants to merge 3 commits into
pytest-dev:mainfrom
Sagar07-star:fix/3042-information-required-options
Open

Sagar07-star wants to merge 3 commits into
pytest-dev:mainfrom
Sagar07-star:fix/3042-information-required-options

Conversation

@Sagar07-star

Copy link
Copy Markdown

Temporarily relax required options for informational actions and restore them after parsing. Add regression tests for listing commands, normal runs, parser reuse, invalid values, option termination, and argument files.

Fixes #3042

Temporarily relax required options for informational actions and restore them after parsing. Add regression tests for listing commands, normal runs, parser reuse, invalid values, option termination, and argument files.

Fixes pytest-dev#3042
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Oct 10, 2026

This branch has not been deployed

No deployments
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.

--fixtures and --markers are broken when there's a required option added in pytest_addoption()

1 participant