Skip to content

Commit dbbba52

Browse files
Update check-errorcodes.test: add reveal_locals
1 parent 1382b7c commit dbbba52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-data/unit/check-errorcodes.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
from typing import reveal_type
88
reveal_type(1) #type: ignore[misc] # N: Revealed type is "Literal[1]?"
99

10+
[case testErrorCodeMiscDoesntSuppressRevealLocals-xfail]
11+
reveal_locals() #type:ignore[misc] # N: There are no locals to reveal
12+
1013
[case testErrorCodeNoAttribute]
1114
import m
1215
m.x # E: Module has no attribute "x" [attr-defined]

0 commit comments

Comments
 (0)