Skip to content

Commit

Permalink
Merge pull request #1208 from astropy/revert-1200-ignore-gwcs-warning
Browse files Browse the repository at this point in the history
Revert "Ignore deprecation warnings coming from upstream gwcs package"
  • Loading branch information
pllim authored Dec 31, 2024
2 parents 40d4bb5 + 6846845 commit 4f06c27
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions specutils/tests/test_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f06c27

Please sign in to comment.