From 795bfeb75d64ea31b5cbe5362b436acb039247bf Mon Sep 17 00:00:00 2001 From: snowapril Date: Tue, 26 Oct 2021 10:14:42 +0900 Subject: [PATCH] Add extra test for `GenericAlias` on `TypeVar` args Signed-off-by: snowapril --- extra_tests/snippets/test_typing.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 extra_tests/snippets/test_typing.py diff --git a/extra_tests/snippets/test_typing.py b/extra_tests/snippets/test_typing.py new file mode 100644 index 000000000..5ed98cff0 --- /dev/null +++ b/extra_tests/snippets/test_typing.py @@ -0,0 +1,4 @@ +from typing import TypeVar + +Y = TypeVar('Y') +assert dict[str,Y][int] == dict[str, int] \ No newline at end of file