Skip to content

Commit

Permalink
Fix ErrorCode test for Python 3.10.1 (#11752)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Dec 15, 2021
1 parent b4df2b3 commit 61f0543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-data/unit/check-errorcodes.test
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ reveal_type(1) # N: Revealed type is "Literal[1]?"
main:1: error: invalid syntax [syntax]
[out version>=3.10]
main:1: error: invalid syntax. Perhaps you forgot a comma? [syntax]
[out version>=3.10.1]
main:1: error: invalid syntax [syntax]

[case testErrorCodeSyntaxError2]
def f(): # E: Type signature has too many arguments [syntax]
Expand Down

0 comments on commit 61f0543

Please sign in to comment.