Skip to content

Conversation

tanuj-rai
Copy link
Contributor

@tanuj-rai tanuj-rai commented Oct 8, 2025

Here is a quick checklist that should be present in PRs.

  • Include documentation when adding new features.
  • Include new tests or update existing tests when applicable.
  • Allow maintainers to push and squash when merging my commits. Please uncheck this if you prefer to squash the commits yourself.

What this PR does:

This PR adds deduplication step after the second command-line argument parse in _pytest/config/init.py to ensure that --pythonwarnings (-W) values are unique.

closes #13484

Who can review:
@bluetech @nicoddemus @RonnyPfannschmidt

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.

Config.known_args_namespace contains duplicate value

1 participant