Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Oct 29, 2021
1 parent b2c75bc commit 9bd809d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test-data/unit/check-fastparse.test
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 9bd809d

Please sign in to comment.