Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore deprecation warnings coming from upstream gwcs package #1200

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions specutils/tests/test_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,9 @@ 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
Loading