Skip to content

Commit f6eb6fa

Browse files
committed
Add test case
1 parent 734c60e commit f6eb6fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mypy/test/data/parse.test

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3313,3 +3313,12 @@ MypyFile:1(
33133313
IntExpr(1)
33143314
IntExpr(2)))
33153315
IgnoredLines(2, 4, 6))
3316+
3317+
[case testIgnoreAnnotationAndMultilineStatement2]
3318+
from m import ( # type: ignore
3319+
x, y
3320+
)
3321+
[out]
3322+
MypyFile:1(
3323+
ImportFrom:1(m, [x : x, y : y])
3324+
IgnoredLines(1))

0 commit comments

Comments
 (0)