diff --git a/specreduce/tests/test_tracing.py b/specreduce/tests/test_tracing.py index 9b711de..4743e40 100644 --- a/specreduce/tests/test_tracing.py +++ b/specreduce/tests/test_tracing.py @@ -164,7 +164,6 @@ def test_fit_trace(): mask = np.zeros(img.shape) mask[:, 0:21] = 1 nddat = NDData(data=img, mask=mask, unit=u.DN) - msg = 'All pixels in bins 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 20 are masked. Falling to trace value from all-bin fit.' + msg = 'All pixels in bins 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 20 are masked.' with pytest.warns(UserWarning, match=msg): FitTrace(nddat) -