Skip to content

Commit

Permalink
Fix tests on Python 3.10.0 (#13289)
Browse files Browse the repository at this point in the history
Syntax error was changed in a micro version; wheel builds use 3.10.0
  • Loading branch information
hauntsaninja authored Jul 30, 2022
1 parent a65265d commit 0d7424c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-data/unit/check-newsyntax.test
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ reveal_type(f'{1}') # N: Revealed type is "builtins.str"

[case testFeatureVersionSuggestion]
# flags: --python-version 3.99
this is what future python looks like public static void main String[] args await goto exit
x *** x this is what future python looks like public static void main String[] args await goto exit
[out]
main:2: error: invalid syntax; you likely need to run mypy using Python 3.99 or newer

0 comments on commit 0d7424c

Please sign in to comment.