◐ Shell
clean mode source ↗

bpo-43844: Fix PendingDeprecationWarning in test_lib2to3 by vstinner · Pull Request #25407 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 1 commit into

python:masterfrom

vstinner:lib2to3_warn

Apr 16, 2021

Merged

bpo-43844: Fix PendingDeprecationWarning in test_lib2to3#25407

vstinner

merged 1 commit into

python:masterfrom

vstinner:lib2to3_warn

Conversation

@vstinner

@vstinner vstinner commented

Apr 14, 2021

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

@vstinner

Copy link Copy Markdown

Member Author

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

Copy link Copy Markdown

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

Reviewers

No reviews

Assignees

No one assigned

Labels

skip news tests

Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot