diff --git a/test-data/unit/semanal-errors.test b/test-data/unit/semanal-errors.test index ce2186f969d3..ba8ee6e44307 100644 --- a/test-data/unit/semanal-errors.test +++ b/test-data/unit/semanal-errors.test @@ -844,13 +844,13 @@ cast(str, target=None) # E: "cast" must be called with 2 positional arguments from typing import Any Any(str, None) # E: Any(...) is no longer supported. Use cast(Any, ...) instead Any(arg=str) # E: Any(...) is no longer supported. Use cast(Any, ...) instead -[out] +#[out] # TODO: fix this # [case testTypeListAsType] # -# def f(x:[int, str]) -> None: # E: Bracketed expression "[...]" is not valid as a type \ -# # N: Did you mean "List[...]"? +# def f(x:[int, str]) -> None: $ E: Bracketed expression "[...]" is not valid as a type \ +# $ N: Did you mean "List[...]"? # pass # [out]