Skip to content

Commit 61f0543

Browse files
authored
Fix ErrorCode test for Python 3.10.1 (#11752)
https://bugs.python.org/issue46004
1 parent b4df2b3 commit 61f0543

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test-data/unit/check-errorcodes.test

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ reveal_type(1) # N: Revealed type is "Literal[1]?"
3636
main:1: error: invalid syntax [syntax]
3737
[out version>=3.10]
3838
main:1: error: invalid syntax. Perhaps you forgot a comma? [syntax]
39+
[out version>=3.10.1]
40+
main:1: error: invalid syntax [syntax]
3941

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

0 commit comments

Comments
 (0)