Skip to content

Commit

Permalink
Fix unreacheable assertion in Provenance unit test (#2072)
Browse files Browse the repository at this point in the history
Remove unnecessary statement
  • Loading branch information
HealthyPear authored Sep 12, 2022
1 parent 428d114 commit 8c5ea16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ctapipe/core/tests/test_provenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def provenance():
prov.finish_activity("test1")
return prov

assert set(prov.finished_activity_names) == {"test2", "test1"}
def test_provenance_activity_names(provenance):
assert set(provenance.finished_activity_names) == {"test2", "test1"}


def test_ActivityProvenance():
Expand Down

0 comments on commit 8c5ea16

Please sign in to comment.