ruff/crates/ruff_python_parser/resources/inline/ok
Dhruv Manilawala b7066e64e7
Consider binary expr for parenthesized with items parsing (#11012)
## Summary

This PR fixes the bug in with items parsing where it would fail to
recognize that the parenthesized expression is part of a large binary
expression.

## Test Plan

Add test cases and verified the snapshots.
2024-04-18 21:39:30 +05:30
..
ambiguous_lpar_with_items_binary_expr.py Consider binary expr for parenthesized with items parsing (#11012) 2024-04-18 21:39:30 +05:30
ambiguous_lpar_with_items_if_expr.py Consider if expression for parenthesized with items parsing (#11010) 2024-04-18 14:30:15 +00:00
ann_assign_stmt_simple_target.py
assign_targets_terminator.py
async_for_statement.py
async_function_definition.py
async_with_statement.py
class_def_arguments.py
decorator_async_function.py
del_targets_terminator.py
dotted_name_normalized_spaces.py
for_in_target_postfix_expr.py
from_import_no_space.py
from_import_stmt_terminator.py
fstring_format_spec_terminator.py
function_def_parameter_range.py
function_def_parenthesized_return_types.py
function_def_valid_return_expr.py
global_stmt.py
import_stmt_terminator.py
lambda_with_no_parameters.py
lambda_with_valid_body.py
match_as_pattern.py
match_sequence_pattern_parentheses_terminator.py
match_sequence_pattern_terminator.py
match_stmt_subject_expr.py
match_stmt_valid_guard_expr.py
nonlocal_stmt.py
param_with_annotation.py
param_with_default.py
param_with_star_annotation.py
params_non_default_after_star.py
params_seen_keyword_only_param_after_star.py
parenthesized_compare_expr_in_for.py
simple_stmts_in_block.py
simple_stmts_with_semicolons.py