Skip to content

Commit

Permalink
# pylint: disable=broad-exception-caught
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby committed May 2, 2024
1 parent 8c6b67e commit 847eafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ir/model_zoo_test/model_zoo_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def run_one_test(model_info: hub.ModelInfo) -> tuple[str, str | None]:
try:
time_passed = test_model(model_info)
message += green(f"\n[PASS]: {model_name} roundtrip test passed.")
except Exception as e: # noqa: W0718
except Exception as e: # pylint: disable=broad-exception-caught
time_passed = -1
error = traceback.format_exc()
message += red(f"\n[FAIL]: {e}")
Expand Down

0 comments on commit 847eafb

Please sign in to comment.