Skip to content

Commit 61d228b

Browse files
committed
minitest
1 parent 86ff1b1 commit 61d228b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test-data/unit/fine-grained-suggest.test

+16
Original file line numberDiff line numberDiff line change
@@ -1031,3 +1031,19 @@ tuple1(t)
10311031
(foo.Dict[int, int]) -> None
10321032
(Tuple[int, int]) -> None
10331033
==
1034+
1035+
[case testSuggestRefine2]
1036+
# suggest: foo.optional5
1037+
[file foo.py]
1038+
from typing import Optional, Any
1039+
1040+
def optional5(x: Optional[Any]):
1041+
pass
1042+
1043+
optional5(10)
1044+
optional5(None)
1045+
1046+
[builtins fixtures/isinstancelist.pyi]
1047+
[out]
1048+
(Optional[int]) -> None
1049+
==

0 commit comments

Comments
 (0)