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={}):
finally:
try:
app.shutdown()
except:
except Exception:
pass
for directory in [staging_directory, cache_directory]:
try:
rmtree(directory)
pass
except:
except Exception:
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