Visitar URL original
bpo-45171: Remove tests of deprecated logger.warn(). (GH-32139) by joukewitteveen · Pull Request #32139 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20251017020632/https://github.com/python/cpython/pull/32139
Skip to content

Conversation

joukewitteveen
Copy link
Contributor

@joukewitteveen joukewitteveen commented Mar 27, 2022 •

This is a follow-up to #28287. @tirkarthi observed that a deprecation message was emitted by the tests. Rather than catch and ignore this deprecation warning, we might as well forego testing deprecated methods.
In addition, I reworded a comment ever so slightly, as discussed briefly with @vsajip in #28287.

https://bugs.python.org/issue45171

@joukewitteveen joukewitteveen force-pushed the logging-no-deprecated-test branch from 2577c87 to 16513d8 Compare March 27, 2022 17:22
@vsajip vsajip changed the title bpo-45171: Remove tests of deprecated logger.warn bpo-45171: Remove tests of deprecated logger.warn(). (GH-32139) Mar 27, 2022
@vsajip vsajip merged commit c12ba6b into python:main Mar 27, 2022
@joukewitteveen joukewitteveen deleted the logging-no-deprecated-test branch March 27, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants