Skip to content

Commit 9ebf317

Browse files
committed
Fix parse tests
1 parent 5058e42 commit 9ebf317

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)
@@ -434,7 +434,7 @@ file:1: error: invalid syntax
434434
[case testSmartQuotes]
435435
foo = ‘bar’
436436
[out]
437-
file:1: error: invalid character in identifier
437+
file:1: error: invalid character '‘' (U+2018)
438438

439439
[case testExceptCommaInPython3]
440440
try:

0 commit comments

Comments
 (0)