Sorry, something went wrong.
| import warnings | ||
|
|
||
| def pickle_deprecated(testfunc): | ||
| """ Run the test twice. On the first pass, verify that a |
There was a problem hiding this comment.
Is it worth it to run them a third time, with DeprecationWarnings promoted to errors? That usually ends up exercising paths that rarely get considered, but it'd probably be more in pickle than in itertools.
Sorry, something went wrong.
There was a problem hiding this comment.
Will do.
Sorry, something went wrong.
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
GH-104997 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
Thomas, the C code deprecation and the related tests were created in a way that should be easy to review and easy to turned-off if need arises.
📚 Documentation preview 📚: https://cpython-previews--104965.org.readthedocs.build/