diff --git a/test-data/unit/check-fastparse.test b/test-data/unit/check-fastparse.test index 497ed9b1d2b2c..c8c15ecc4fa94 100644 --- a/test-data/unit/check-fastparse.test +++ b/test-data/unit/check-fastparse.test @@ -321,8 +321,12 @@ x @= 1 from typing import Dict x = None # type: Dict[x: y] + +[builtins fixtures/dict.pyi] [out] -main:3: error: syntax error in type comment +main:3: error: "dict" expects 2 type arguments, but 1 given (diff) +main:3: error: Invalid type comment or annotation (diff) +main:3: note: did you mean to use ',' instead of ':' ? (diff) [case testPrintStatementTrailingCommaFastParser_python2]