From a858b636b5de1a4f1bde57c98cac7b8ffa0bc33c Mon Sep 17 00:00:00 2001 From: John Chilton <jmchilton@gmail.com> Date: Tue, 7 Apr 2015 09:39:06 -0400 Subject: [PATCH] Eliminate bare exceptions in test/test_utils.py. --- test/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_utils.py b/test/test_utils.py index 4d7f5aae..30845e25 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -241,13 +241,13 @@ def test_pulsar_app(global_conf={}, app_conf={}, test_conf={}): finally: try: app.shutdown() - except: + except Exception: pass for directory in [staging_directory, cache_directory]: try: rmtree(directory) pass - except: + except Exception: pass -- GitLab