Skip to content

bpo-43844: Fix PendingDeprecationWarning in test_lib2to3 #25407

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

Merged
merged 1 commit into from
Apr 16, 2021
Merged

bpo-43844: Fix PendingDeprecationWarning in test_lib2to3 #25407

merged 1 commit into from
Apr 16, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 14, 2021

@vstinner
Copy link
Member Author

cc @tirkarthi

env=sub_env)
""" % (grammar_sub_copy,)
msg = ("lib2to3 package is deprecated and may not be able "
"to parse Python 3.10+")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In PR #25406, I added distutils._DEPRECATION_MESSAGE constant to avoid copying the error message. Is it worth it?

@vstinner vstinner merged commit 471870f into python:master Apr 16, 2021
@vstinner vstinner deleted the lib2to3_warn branch April 16, 2021 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants