Skip to content

Commit ae8ac73

Browse files
committed
Forgot to comment out the directives...
1 parent 3ffc343 commit ae8ac73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-data/unit/semanal-errors.test

+3-3
Original file line numberDiff line numberDiff line change
@@ -844,13 +844,13 @@ cast(str, target=None) # E: "cast" must be called with 2 positional arguments
844844
from typing import Any
845845
Any(str, None) # E: Any(...) is no longer supported. Use cast(Any, ...) instead
846846
Any(arg=str) # E: Any(...) is no longer supported. Use cast(Any, ...) instead
847-
[out]
847+
#[out]
848848

849849
# TODO: fix this
850850
# [case testTypeListAsType]
851851
#
852-
# def f(x:[int, str]) -> None: # E: Bracketed expression "[...]" is not valid as a type \
853-
# # N: Did you mean "List[...]"?
852+
# def f(x:[int, str]) -> None: $ E: Bracketed expression "[...]" is not valid as a type \
853+
# $ N: Did you mean "List[...]"?
854854
# pass
855855
# [out]
856856

0 commit comments

Comments
 (0)