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 65f6bcc commit 22e56a8Copy full SHA for 22e56a8
test-data/unit/check-flags.test
@@ -2550,10 +2550,12 @@ enable_all_error_codes = True
2550
\[mypy-tests.*]
2551
disable_error_code = ignore-without-code
2552
2553
-[case testSpotCheckEnableAllErrorCodesConfigCountermand]
+[case testSpotCheckEnableAllErrorCodesConfigCountermand-xfail]
2554
# flags: --config-file tmp/mypy.ini
2555
# This test makes sure that the user can still countermand error codes disables
2556
# by *using* enable_all_error_codes on a more-specific level.
2557
+# This test would work if enable-all-error-codes was also a per-module option,
2558
+# which I guess it isn't.
2559
import tests.foo
2560
import bar
2561
[file bar.py]
0 commit comments