Skip to content

Update NoReturn imports in tests #18529

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 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