Skip to content

Commit

Permalink
Move try/except one level down
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jul 12, 2024
1 parent 1565483 commit 8bed169
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/galaxy_test/base/populators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2532,13 +2532,13 @@ def run_conformance_test(self, version: str, doc: str):
raise Exception("Expected run to fail but it didn't.")

expected_outputs = test["output"]
try:
for key, value in expected_outputs.items():
for key, value in expected_outputs.items():
try:
actual_output = run.get_output_as_object(key)
cwltest.compare.compare(value, actual_output)
except Exception:
self.dataset_populator._summarize_history(run.history_id)
raise
except Exception:
self.dataset_populator._summarize_history(run.history_id)
raise


class LibraryPopulator:
Expand Down

0 comments on commit 8bed169

Please sign in to comment.