Skip to content
Snippets Groups Projects
Commit a858b636 authored by John Chilton's avatar John Chilton
Browse files

Eliminate bare exceptions in test/test_utils.py.

parent e6dccb62
No related branches found
No related tags found
No related merge requests found
...@@ -241,13 +241,13 @@ def test_pulsar_app(global_conf={}, app_conf={}, test_conf={}): ...@@ -241,13 +241,13 @@ def test_pulsar_app(global_conf={}, app_conf={}, test_conf={}):
finally: finally:
try: try:
app.shutdown() app.shutdown()
except: except Exception:
pass pass
for directory in [staging_directory, cache_directory]: for directory in [staging_directory, cache_directory]:
try: try:
rmtree(directory) rmtree(directory)
pass pass
except: except Exception:
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment