From b0fa31450da289571d551bd2db095148773d6dd0 Mon Sep 17 00:00:00 2001 From: Ali-Akber Saifee Date: Wed, 27 Nov 2024 08:00:55 -0800 Subject: [PATCH] Fix use of unnecessary finally block in test case --- tests/test_context_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_context_manager.py b/tests/test_context_manager.py index ed883999..c334fa87 100644 --- a/tests/test_context_manager.py +++ b/tests/test_context_manager.py @@ -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: