-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Missing definitions for typing_extensions #12438
Copy link
Copy link
Closed
Labels
bugmypy got something wrongmypy got something wrong
Description
Bug Report
Missing definitions in typeshed. They have been added to upstream typeshed.
To Reproduce
mypy -c 'from typing_extensions import assert_never, Never'
Expected Behavior
Type checking should succeed
Actual Behavior
<string>:1: error: Module "typing_extensions" has no attribute "assert_never"
<string>:1: error: Module "typing_extensions" has no attribute "Never"
Found 2 errors in 1 file (checked 1 source file)
Your Environment
- Mypy version used: Tried both 0.921 (from fedora) and 0.941
- Mypy command-line flags:
- Mypy configuration options from
mypy.ini(and other config files): - Python version used: 3.10
- Operating system and version: Fedora 35
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugmypy got something wrongmypy got something wrong