Skip to content

Commit 3aafbbc

Browse files
committed
Fix parse tests
1 parent 90bbd62 commit 3aafbbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/parse-errors.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ file:1: error: invalid syntax
5555
[case testUnexpectedEof]
5656
if 1:
5757
[out]
58-
file:1: error: unexpected EOF while parsing
58+
file:1: error: expected an indented block
5959

6060
[case testInvalidKeywordArguments1]
6161
f(x=y, z)
@@ -427,7 +427,7 @@ file:1: error: invalid syntax
427427
[case testSmartQuotes]
428428
foo = ‘bar’
429429
[out]
430-
file:1: error: invalid character in identifier
430+
file:1: error: invalid character '‘' (U+2018)
431431

432432
[case testExceptCommaInPython3]
433433
try:

0 commit comments

Comments
 (0)