Skip to content

Commit 186f929

Browse files
committed
fix test
1 parent dbd4688 commit 186f929

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test-data/unit/parse.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3210,7 +3210,7 @@ MypyFile:1(
32103210

32113211
[case testParseExtendedSlicing4]
32123212
m[*index, :]
3213-
[out]
3213+
[out version>=3.11]
32143214
MypyFile:1(
32153215
ExpressionStmt:1(
32163216
IndexExpr:1(
@@ -3221,6 +3221,8 @@ MypyFile:1(
32213221
SliceExpr:1(
32223222
<empty>
32233223
<empty>)))))
3224+
[out]
3225+
main:1: error: invalid syntax
32243226

32253227
[case testParseIfExprInDictExpr]
32263228
test = { 'spam': 'eggs' if True else 'bacon' }

0 commit comments

Comments
 (0)