From 68468457b2debb573f19e2a68bff9ee9069bf0b0 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:22:56 -0500 Subject: [PATCH] Revert "Ignore deprecation warnings coming from upstream gwcs package" --- specutils/tests/test_loaders.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/specutils/tests/test_loaders.py b/specutils/tests/test_loaders.py index 9bb3478ea..202fb5fd6 100644 --- a/specutils/tests/test_loaders.py +++ b/specutils/tests/test_loaders.py @@ -779,9 +779,6 @@ def test_tabular_fits_update_header(tmp_path, metadata_hdu): @pytest.mark.filterwarnings("ignore:The unit 'Angstrom' has been deprecated") -# Ignore upstream warnings from GWCS -@pytest.mark.filterwarnings('ignore:The get_format_name function is deprecated') -@pytest.mark.filterwarnings('ignore:The class "Fits" has been renamed') def test_tabular_fits_autowrite(tmp_path): """Test writing of Spectrum1D with automatic selection of BINTABLE format.""" disp = np.linspace(1, 1.2, 21) * u.AA