config: Add a test for -o with invalid option#13980
Merged
nicoddemus merged 1 commit intopytest-dev:mainfrom Nov 21, 2025
Merged
config: Add a test for -o with invalid option#13980nicoddemus merged 1 commit intopytest-dev:mainfrom
nicoddemus merged 1 commit intopytest-dev:mainfrom
Conversation
This was ignored until pytest-dev#13830. With that change, it now gets correctly surfaced to the user as a warning (or error with --strict-config), so we should have a test for it.
bluetech
approved these changes
Nov 18, 2025
Member
bluetech
left a comment
There was a problem hiding this comment.
Thanks, that's good to have.
nicoddemus
approved these changes
Nov 21, 2025
Backport to 9.0.x: 💚 backport PR created✅ Backport PR branch: Backported as #13994 🤖 @patchback |
nicoddemus
pushed a commit
that referenced
this pull request
Nov 21, 2025
…nvalid option (#13994) * config: Add a test for -o with invalid option (#13980) This was ignored until #13830. With that change, it now gets correctly surfaced to the user as a warning (or error with --strict-config), so we should have a test for it. (cherry picked from commit 9f992b8) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Florian Bruhin <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Member
Author
|
Huh, apparently pre-commit CI never did run on this PR and it broke the CI on main?! Took the freedom to push a follow-up directly in ded73ee. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was ignored until #13830. With that change, it now gets correctly surfaced to the user as a warning (or error with --strict-config), so we should have a test for it.