diff --git a/test/completion/pep0484_typing.py b/test/completion/pep0484_typing.py index 870c2306..9b191187 100644 --- a/test/completion/pep0484_typing.py +++ b/test/completion/pep0484_typing.py @@ -331,6 +331,20 @@ with_type_checking #? without_type_checking -def foo() -> typing.Type[int]: pass +def foo(a: typing.List, b: typing.Dict, c: typing.MutableMapping) -> typing.Type[int]: + #? ['append'] + a.appen + #? list() + a + #? + a[0] + #? ['setdefault'] + b.setd + #? ['setdefault'] + c.setd + #? typing.MutableMapping() + c + #? + c['asdf'] #? int foo()