Skip to content

Commit 795bfeb

Browse files
committed
Add extra test for GenericAlias on TypeVar args
Signed-off-by: snowapril <sinjihng@gmail.com>
1 parent bda42ac commit 795bfeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

extra_tests/snippets/test_typing.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from typing import TypeVar
2+
3+
Y = TypeVar('Y')
4+
assert dict[str,Y][int] == dict[str, int]

0 commit comments

Comments
 (0)