-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
--strict option is not related to warnings at all #2444
Comments
it seems to be used only and explicitly only in the mark module which doesnt issue warnings about unknown marks at the moment so strict was never implemented correct |
|
so we either start a rename process so its named for what it actually does or make it fail more things |
If it never worked as described, I would recommend changing the help text to state that --strict turns on the requirement that markers have to be declared and remove the reference to warnings. |
Definitely! |
I propose we just update the help text related to |
…est. r=ato Currently the "--strict" option is used to turn warnings into errors. But even the help content says that, it is not true. Instead this option is only used for markers. To actually turn warnings into errors the "-W error" option would have to be used. More details see: pytest-dev/pytest#2444 MozReview-Commit-ID: AQMwZlwC46w --HG-- extra : rebase_source : 9cc0cffa2d6b5f3082a9e6b93ec729a4601481fc
…est. r=ato Currently the "--strict" option is used to turn warnings into errors. But even the help content says that, it is not true. Instead this option is only used for markers. To actually turn warnings into errors the "-W error" option would have to be used. More details see: pytest-dev/pytest#2444 MozReview-Commit-ID: AQMwZlwC46w
…est. r=ato Currently the "--strict" option is used to turn warnings into errors. But even the help content says that, it is not true. Instead this option is only used for markers. To actually turn warnings into errors the "-W error" option would have to be used. More details see: pytest-dev/pytest#2444 MozReview-Commit-ID: AQMwZlwC46w UltraBlame original commit: e4190bcbd4ef1b4dc8bb21c265c667cd007326d1
…est. r=ato Currently the "--strict" option is used to turn warnings into errors. But even the help content says that, it is not true. Instead this option is only used for markers. To actually turn warnings into errors the "-W error" option would have to be used. More details see: pytest-dev/pytest#2444 MozReview-Commit-ID: AQMwZlwC46w UltraBlame original commit: e4190bcbd4ef1b4dc8bb21c265c667cd007326d1
…est. r=ato Currently the "--strict" option is used to turn warnings into errors. But even the help content says that, it is not true. Instead this option is only used for markers. To actually turn warnings into errors the "-W error" option would have to be used. More details see: pytest-dev/pytest#2444 MozReview-Commit-ID: AQMwZlwC46w UltraBlame original commit: e4190bcbd4ef1b4dc8bb21c265c667cd007326d1
The text was updated successfully, but these errors were encountered: