Skip to content

Update Literal imports in tests #18640

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 2 commits into from
Feb 9, 2025

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Feb 9, 2025

Literal was added to Python in 3.8. Replace most typing_extensions imports in tests.

@ilevkivskyi ilevkivskyi merged commit 653fc9b into python:master Feb 9, 2025
12 checks passed
@cdce8p cdce8p deleted the import-literal-typing branch February 9, 2025 19:01
JukkaL pushed a commit that referenced this pull request Feb 18, 2025
….TypedDict (#18694)

#18640 removed almost all instances of `typing_extensions.Literal` in
the tests. Re-add a simple regression test. Similarly at least one test
case should import `mypy_extensions.TypedDict`.
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
`Literal` was added to Python in 3.8. Replace most `typing_extensions`
imports in tests.
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
….TypedDict (python#18694)

python#18640 removed almost all instances of `typing_extensions.Literal` in
the tests. Re-add a simple regression test. Similarly at least one test
case should import `mypy_extensions.TypedDict`.
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.

2 participants