-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Make pytest raise warnings as errors by default #39829
Conversation
# https://github.com/web-platform-tests/wpt/issues/39366 | ||
always:The metaschema specified by \$schema was not found\. Using the latest draft to validate, but this will raise an error in the future\.:DeprecationWarning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# https://github.com/web-platform-tests/wpt/issues/39359 | ||
always:'cgi' is deprecated and slated for removal in Python 3:DeprecationWarning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# https://github.com/web-platform-tests/wpt/issues/39373 | ||
always:the imp module is deprecated in favour of importlib:DeprecationWarning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# https://github.com/web-platform-tests/wpt/issues/39827 | ||
always:pkg_resources is deprecated as an API:DeprecationWarning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still mildly concerned that this might break people trying to run tests in their vendored copies, but I hope that doesn't happen and we can revert the change to actually make the tests error on warning if it does. So as long as we still see the warnings in the output, this seems OK.
No description provided.