Expression is of type "type[int]", not "type[int]"
when using assert_type
and TypeAlias
#18974
Labels
assert-type
assert_type()
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
Bug Report
(A clear and concise description of what the bug is.)
To Reproduce
https://mypy-play.net/?mypy=latest&python=3.12&gist=f8dfcc539a523e88dc63f9e6bb423d40
Expected Behavior
No issues reported
Actual Behavior
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: