-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Replace deprecated logging.warn with logging.warning #10064
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
Replace deprecated logging.warn with logging.warning #10064
Conversation
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.
Thanks
Looks good, thanks! Wonder if we need a changelog entry for this? |
reopen cycled in the hope that pre-commit.ci works this time |
btw, no changelog needed, as this is a minor test cleanup thats practically not user-facing |
pre-commit.ci isn't running on other PRs either, for example #10061. The last pre-commit.ci run was on 2022-06-06: https://results.pre-commit.ci/repo/github/37489525 ping @asottile |
someone turned it off -- not really sure who -- https://results.pre-commit.ci/install/github/13658824 |
pre-commit.ci run |
I re-added it to pytest-dev/pytest |
for more information, see https://pre-commit.ci
Replace
logging.warn
(deprecated in Python 2.7, 2011) withlogging.warning
(added in Python 2.3, 2003).