Skip to content

Commit 3a2fce5

Browse files
committed
Modify tests to work with new '# flag' directive
The `# options: ...` directive was replaced with the `# flag: ...` directive.
1 parent b4009e4 commit 3a2fce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/check-incremental.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ tmp/m1.py:3: error: Argument 1 to "accepts_int" has incompatible type "str"; exp
11291129

11301130
[case testIncrementalSilentImportsWithInnerImports]
11311131
# cmd: mypy -m main foo
1132-
# options: silent_imports
1132+
# flags: --silent-imports
11331133

11341134
[file main.py]
11351135
from foo import MyClass
@@ -1154,7 +1154,7 @@ tmp/main.py:3: error: Revealed type is 'Any'
11541154
[case testIncrementalSilentImportsWithInnerImportsAndNewFile]
11551155
# cmd: mypy -m main foo
11561156
# cmd2: mypy -m main foo unrelated
1157-
# options: silent_imports
1157+
# flags: --silent-imports
11581158

11591159
[file main.py]
11601160
from foo import MyClass

0 commit comments

Comments
 (0)