Skip to content

Commit 22e56a8

Browse files
-xfail testSpotCheckEnableAllErrorCodesConfigCountermand for error_code_all for #19048
1 parent 65f6bcc commit 22e56a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test-data/unit/check-flags.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2550,10 +2550,12 @@ enable_all_error_codes = True
25502550
\[mypy-tests.*]
25512551
disable_error_code = ignore-without-code
25522552

2553-
[case testSpotCheckEnableAllErrorCodesConfigCountermand]
2553+
[case testSpotCheckEnableAllErrorCodesConfigCountermand-xfail]
25542554
# flags: --config-file tmp/mypy.ini
25552555
# This test makes sure that the user can still countermand error codes disables
25562556
# 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.
25572559
import tests.foo
25582560
import bar
25592561
[file bar.py]

0 commit comments

Comments
 (0)