mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Rename parser mode from Jupyter to Ipython (#7153)
This commit is contained in:
@@ -1412,7 +1412,7 @@ mod tests {
|
||||
let indentation = Indentation::default();
|
||||
let quote = Quote::default();
|
||||
let line_ending = LineEnding::default();
|
||||
let ast = ruff_python_parser::parse(contents, Mode::Jupyter, "<filename>").unwrap();
|
||||
let ast = ruff_python_parser::parse(contents, Mode::Ipython, "<filename>").unwrap();
|
||||
let Mod::Module(ModModule { body, .. }) = ast else {
|
||||
panic!("Source code didn't return ModModule")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user