Skip to content

Commit 465e13d

Browse files
committed
update comment after review
1 parent 2ee0d44 commit 465e13d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/autofix_files/async91x_py311.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ async def foo_try_except_star_3(): # safe
4444
raise
4545

4646

47-
# Multiple except* handlers - should all guarantee checkpoint
47+
# Multiple except* handlers - should all guarantee checkpoint/raise
4848
async def foo_try_except_star_4():
4949
try:
5050
await foo()
5151
except* ValueError:
52-
raise
52+
await foo()
5353
except* TypeError:
5454
raise
5555
except* Exception:

tests/eval_files/async91x_py311.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ async def foo_try_except_star_3(): # safe
4343
raise
4444

4545

46-
# Multiple except* handlers - should all guarantee checkpoint
46+
# Multiple except* handlers - should all guarantee checkpoint/raise
4747
async def foo_try_except_star_4():
4848
try:
4949
await foo()
5050
except* ValueError:
51-
raise
51+
await foo()
5252
except* TypeError:
5353
raise
5454
except* Exception:

0 commit comments

Comments
 (0)