Skip to content

Conversation

@cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Jan 25, 2025

mypy_extensions.NoReturn 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.NoReturn.

@hauntsaninja hauntsaninja merged commit 1b24bf7 into python:master Jan 25, 2025
12 checks passed
@cdce8p cdce8p deleted the remove-mypy_extensions-noreturn-tests branch January 25, 2025 07:40
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
`mypy_extensions.NoReturn` 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.NoReturn`.
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