simplify fail test
@@ -228,10 +228,9 @@ class TestFluxPoints:
@requires_dependency("matplotlib")
def test_plot_likelihood_error(self, flux_points_likelihood):
del flux_points_likelihood.table["norm_scan"]
- del flux_points_likelihood.table["stat_scan"]
with pytest.raises(
ValueError,
- match="Missing columns for sed type 'likelihood': {'norm_scan', 'stat_scan'}",
+ match="Missing columns for sed type 'likelihood': {'norm_scan'}",
):
flux_points_likelihood.plot_ts_profiles()
