Delete crates/ruff_python_parser/tests/snapshots/valid_syntax@missing_power_lhs.py.snap

This commit is contained in:
Bhuminjay Soni 2025-12-15 13:09:04 +05:30 committed by GitHub
parent dbb0631e60
commit af623e1f9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 141 deletions

View File

@ -1,141 +0,0 @@
---
source: crates/ruff_python_parser/tests/fixtures.rs
input_file: crates/ruff_python_parser/resources/inline/ok/missing_power_lhs.py
---
## AST
```
Module(
ModModule {
node_index: NodeIndex(None),
range: 0..80,
body: [
Expr(
StmtExpr {
node_index: NodeIndex(None),
range: 43..65,
value: DictComp(
ExprDictComp {
node_index: NodeIndex(None),
range: 43..65,
key: Name(
ExprName {
node_index: NodeIndex(None),
range: 44..45,
id: Name("x"),
ctx: Load,
},
),
value: BinOp(
ExprBinOp {
node_index: NodeIndex(None),
range: 47..50,
left: Name(
ExprName {
node_index: NodeIndex(None),
range: 47..47,
id: Name(""),
ctx: Invalid,
},
),
op: Pow,
right: Name(
ExprName {
node_index: NodeIndex(None),
range: 49..50,
id: Name("y"),
ctx: Load,
},
),
},
),
generators: [
Comprehension {
range: 51..64,
node_index: NodeIndex(None),
target: Tuple(
ExprTuple {
node_index: NodeIndex(None),
range: 55..59,
elts: [
Name(
ExprName {
node_index: NodeIndex(None),
range: 55..56,
id: Name("x"),
ctx: Store,
},
),
Name(
ExprName {
node_index: NodeIndex(None),
range: 58..59,
id: Name("y"),
ctx: Store,
},
),
],
ctx: Store,
parenthesized: false,
},
),
iter: Name(
ExprName {
node_index: NodeIndex(None),
range: 63..64,
id: Name("z"),
ctx: Load,
},
),
ifs: [],
is_async: false,
},
],
},
),
},
),
Expr(
StmtExpr {
node_index: NodeIndex(None),
range: 66..79,
value: Call(
ExprCall {
node_index: NodeIndex(None),
range: 66..79,
func: Name(
ExprName {
node_index: NodeIndex(None),
range: 66..69,
id: Name("foo"),
ctx: Load,
},
),
arguments: Arguments {
range: 69..79,
node_index: NodeIndex(None),
args: [],
keywords: [
Keyword {
range: 70..78,
node_index: NodeIndex(None),
arg: None,
value: Name(
ExprName {
node_index: NodeIndex(None),
range: 72..78,
id: Name("kwargs"),
ctx: Load,
},
),
},
],
},
},
),
},
),
],
},
)
```