Skip to content

Commit 9bd809d

Browse files
committed
Fix failing test
1 parent b2c75bc commit 9bd809d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test-data/unit/check-fastparse.test

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,12 @@ x @= 1
321321

322322
from typing import Dict
323323
x = None # type: Dict[x: y]
324+
325+
[builtins fixtures/dict.pyi]
324326
[out]
325-
main:3: error: syntax error in type comment
327+
main:3: error: "dict" expects 2 type arguments, but 1 given (diff)
328+
main:3: error: Invalid type comment or annotation (diff)
329+
main:3: note: did you mean to use ',' instead of ':' ? (diff)
326330

327331
[case testPrintStatementTrailingCommaFastParser_python2]
328332

0 commit comments

Comments
 (0)