From 8c5ea164c990c2c71b77d0e108f074830460acbd Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Mon, 12 Sep 2022 10:13:13 +0200 Subject: [PATCH] Fix unreacheable assertion in Provenance unit test (#2072) Remove unnecessary statement --- ctapipe/core/tests/test_provenance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctapipe/core/tests/test_provenance.py b/ctapipe/core/tests/test_provenance.py index 2b7b62e09e8..5f571ed326c 100644 --- a/ctapipe/core/tests/test_provenance.py +++ b/ctapipe/core/tests/test_provenance.py @@ -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():