Skip to content

Commit 0d7424c

Browse files
authored
Fix tests on Python 3.10.0 (#13289)
Syntax error was changed in a micro version; wheel builds use 3.10.0
1 parent a65265d commit 0d7424c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-newsyntax.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,6 @@ reveal_type(f'{1}') # N: Revealed type is "builtins.str"
154154

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

0 commit comments

Comments
 (0)