Skip to content

Commit 172575b

Browse files
committed
add tests and snapshots
1 parent 397a9f8 commit 172575b

7 files changed

+441
-255
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
try:
22
pass
3-
except x, y:
4-
pass
53
except x, y as exc:
64
pass
75
try:
86
pass
9-
except* x, y:
10-
pass
117
except* x, y as eg:
128
pass
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# parse_options: {"target-version": "3.13"}
2+
try:
3+
pass
4+
except x, y:
5+
pass
6+
try:
7+
pass
8+
except* x, y:
9+
pass
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# parse_options: {"target-version": "3.14"}
2+
try:
3+
pass
4+
except x, y:
5+
pass
6+
try:
7+
pass
8+
except* x, y:
9+
pass

crates/ruff_python_parser/tests/snapshots/invalid_syntax@except_stmt_unparenthesized_tuple.py.snap

Lines changed: 0 additions & 251 deletions
This file was deleted.

0 commit comments

Comments
 (0)