Skip to content

Commit c0e0171

Browse files
try adding one test case
1 parent 23afc30 commit c0e0171

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test-data/unit/check-ignore.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ x = 1
33
x() # type: ignore
44
x() # E: "int" not callable
55

6+
[case testMypyIgnoreTypeError]
7+
x = 1
8+
x() # mypy: ignore
9+
x() # E: "int" not callable
10+
611
[case testIgnoreUndefinedName]
712
x = 1
813
y # type: ignore

0 commit comments

Comments
 (0)