mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Add extra test for GenericAlias on TypeVar args
Signed-off-by: snowapril <sinjihng@gmail.com>
This commit is contained in:
4
extra_tests/snippets/test_typing.py
Normal file
4
extra_tests/snippets/test_typing.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from typing import TypeVar
|
||||
|
||||
Y = TypeVar('Y')
|
||||
assert dict[str,Y][int] == dict[str, int]
|
||||
Reference in New Issue
Block a user