Skip to content

Commit ed20c35

Browse files
actually this last thing should test sonething different
1 parent 263b93f commit ed20c35

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test-data/unit/check-errorcodes.test

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,13 @@ def d(f): return f
400400

401401
@d # E: Untyped decorator makes function "x" untyped [untyped-decorator]
402402
def x() -> int: return 1
403-
@d # type: ignore
403+
@d # type: ignore
404404
def y() -> int: return 2
405-
@d # type: ignore[untyped-decorator]
405+
@d # type: ignore[untyped-decorator]
406406
def best() -> int: return 3
407-
@d # E: Untyped decorator makes function "z" untyped [untyped-decorator]
407+
@d # type: ignore[misc] # E: Unused "type: ignore" comment [unused-ignore] \
408+
# E: Untyped decorator makes function "z" untyped [untyped-decorator] \
409+
# N: Error code "untyped-decorator" not covered by "type: ignore" comment
408410
def z() -> int: return 4
409411

410412
[case testErrorCodeIndexing]

0 commit comments

Comments
 (0)