Skip to content

Commit

Permalink
Fix use of unnecessary finally block in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Nov 27, 2024
1 parent 387ca0d commit b0fa314
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def t1():
resp += "maybe"
except RateLimitExceeded:
pass
finally:
return resp
return resp

with hiro.Timeline().freeze() as timeline:
with app.test_client() as cli:
Expand Down

0 comments on commit b0fa314

Please sign in to comment.