Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix more
  • Loading branch information
ShaharNaveh committed May 19, 2026
commit 666443d1a48b2ef775b522e41f003e03b69c67a9
1 change: 0 additions & 1 deletion Lib/test/test_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -3125,7 +3125,6 @@ def test_invalid_line_continuation_error_position(self):
"unexpected character after line continuation character",
lineno=3, offset=4)

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_invalid_line_continuation_left_recursive(self):
# Check bpo-42218: SyntaxErrors following left-recursive rules
# (t_primary_raw in this case) need to be tested explicitly
Expand Down
4 changes: 2 additions & 2 deletions crates/vm/src/vm/vm_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ impl SyntaxErrorInfo {
ParseErrorType::InvalidDeleteTarget => "invalid syntax".into(),

ParseErrorType::Lexical(LexicalErrorType::LineContinuationError) => {
"unexpected character after line continuation".into()
"unexpected character after line continuation character".into()
}

ParseErrorType::Lexical(LexicalErrorType::UnclosedStringError) => {
"unterminated string".into()
"unterminated string literal".into()
}

ParseErrorType::EmptyTypeParams => "Type parameter list cannot be empty".into(),
Expand Down
Loading