Skip to content

Commit 33aa212

Browse files
committed
Add test case
1 parent f6eb6fa commit 33aa212

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mypy/test/data/check-ignore.test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ a.foo
1919
b()
2020
1() # E: "int" not callable
2121

22+
[case testIgnoreImportFromErrorMultiline]
23+
from xyz_m import ( # type: ignore
24+
a, b
25+
)
26+
a.foo
27+
b()
28+
1() # E: "int" not callable
29+
2230
[case testIgnoreImportAllError]
2331
from xyz_m import * # type: ignore
2432
x # E: Name 'x' is not defined

0 commit comments

Comments
 (0)