@@ -17,8 +17,8 @@ def bar() -> None:
1717[out]
1818bar.py:3: (str)
1919bar.py:4: (arg=str)
20- bar.py:6: (*typing.List [str])
21- bar.py:8: (**typing.Dict [str, str])
20+ bar.py:6: (*list [str])
21+ bar.py:8: (**dict [str, str])
2222==
2323
2424[case testSuggestCallsitesStep2]
@@ -41,8 +41,8 @@ def bar() -> None:
4141==
4242bar.py:3: (str)
4343bar.py:4: (arg=str)
44- bar.py:6: (*typing.List [str])
45- bar.py:8: (**typing.Dict [str, str])
44+ bar.py:6: (*list [str])
45+ bar.py:8: (**dict [str, str])
4646
4747[case testMaxGuesses]
4848# suggest: foo.foo
@@ -691,8 +691,8 @@ No guesses that match criteria!
691691(int, int) -> Any
692692No guesses that match criteria!
693693==
694- (typing.List [Any]) -> int
695- (typing.List [Any]) -> int
694+ (list [Any]) -> int
695+ (list [Any]) -> int
696696
697697
698698[case testSuggestFlexAny2]
@@ -965,7 +965,7 @@ def g(): ...
965965z = foo(f(), g())
966966[builtins fixtures/isinstancelist.pyi]
967967[out]
968- (foo.List [Any], UNKNOWN) -> Tuple[foo.List [Any], Any]
968+ (list [Any], UNKNOWN) -> Tuple[list [Any], Any]
969969==
970970
971971[case testSuggestBadImport]
@@ -1007,11 +1007,11 @@ spam({'x': 5})
10071007
10081008[builtins fixtures/dict.pyi]
10091009[out]
1010- () -> typing.Dict [str, int]
1011- () -> typing.Dict [Any, Any]
1012- () -> foo:List[typing.Dict [str, int]]
1013- () -> foo.List [int]
1014- (typing.Dict [str, int]) -> None
1010+ () -> dict [str, int]
1011+ () -> dict [Any, Any]
1012+ () -> list[dict [str, int]]
1013+ () -> list [int]
1014+ (dict [str, int]) -> None
10151015==
10161016
10171017[case testSuggestWithErrors]
@@ -1161,18 +1161,18 @@ tuple1(t)
11611161[out]
11621162(int, int) -> int
11631163(int, int) -> int
1164- (int) -> foo.List [int]
1165- (foo.List [int]) -> int
1164+ (int) -> list [int]
1165+ (list [int]) -> int
11661166(Union[int, str]) -> None
11671167(Callable[[int], int]) -> int
11681168(Callable[[float], int]) -> int
11691169(Optional[int]) -> None
11701170(Union[None, int, str]) -> None
1171- (Optional[foo.List [int]]) -> int
1172- (Union[foo.Set [int], foo.List [int]]) -> None
1171+ (Optional[list [int]]) -> int
1172+ (Union[set [int], list [int]]) -> None
11731173(Optional[int]) -> None
11741174(Optional[Any]) -> None
1175- (foo.Dict [int, int]) -> None
1175+ (dict [int, int]) -> None
11761176(Tuple[int, int]) -> None
11771177==
11781178
0 commit comments