We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c1811 commit eccab05Copy full SHA for eccab05
stdlib/@tests/test_cases/check_types.py
@@ -69,4 +69,4 @@ def foo(self) -> None:
69
assert_type(union_type | Literal[1], types.UnionType | Any)
70
# Both mypy and pyright special-case this operation,
71
# but in different ways, so we just check that no error is emitted:
72
- union_type[int]
+ _ = union_type[int]
0 commit comments