Skip to content

Update TypedDict imports in tests #18528

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

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Jan 24, 2025

mypy_extensions.TypedDict has been redundant for a while now. With the next mypy_extensions release, it will raise a DeprecationWarning when imported.

Replace existing imports in tests with typing.TypedDict.

@hauntsaninja hauntsaninja merged commit 0c60548 into python:master Jan 25, 2025
12 checks passed
@cdce8p cdce8p deleted the remove-mypy_extensions-typeddict-tests branch January 25, 2025 07:41
JukkaL pushed a commit that referenced this pull request Feb 10, 2025
Followup to #18528

Replace most `typing_extensions.TypedDict` imports in tests with
`typing.TypedDict`.
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
`mypy_extensions.TypedDict` has been redundant for a while now. With the
next mypy_extensions release, it will raise a `DeprecationWarning` when
imported.

Replace existing imports in tests with `typing.TypedDict`.
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
Followup to python#18528

Replace most `typing_extensions.TypedDict` imports in tests with
`typing.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.

3 participants