diff --git a/crates/ruff_python_parser/src/lexer.rs b/crates/ruff_python_parser/src/lexer.rs index 7d831aa6f5..c860b193dd 100644 --- a/crates/ruff_python_parser/src/lexer.rs +++ b/crates/ruff_python_parser/src/lexer.rs @@ -1543,8 +1543,6 @@ impl<'src> Lexer<'src> { } } - dbg!("Handle unclosed string"); - if self.errors.last().is_some_and(|error| { error.location() == self.current_range && matches!(error.error(), LexicalErrorType::UnclosedStringError)