We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27b43b commit 1382b7cCopy full SHA for 1382b7c
test-data/unit/check-errorcodes.test
@@ -1,6 +1,11 @@
1
-- Tests for error codes and ignoring errors using error codes
2
--
3
--- These implicitly use --show-error-codes.
+-- These implicitly use --show-error-codes. # TODO: isn't this statement redundant now that this flag defaults to true?
4
+
5
+[case testErrorCodeMiscDoesntSuppressRevealType-xfail]
6
+# Prevent regression on https://github.com/python/mypy/issues/19840
7
+from typing import reveal_type
8
+reveal_type(1) #type: ignore[misc] # N: Revealed type is "Literal[1]?"
9
10
[case testErrorCodeNoAttribute]
11
import m
0 commit comments