From 1c4ae4aad830c3a5bc76b475b5d230cf633921ed Mon Sep 17 00:00:00 2001 From: Hannu Parviainen Date: Fri, 29 Nov 2024 16:50:14 +0000 Subject: [PATCH] Fixed code style for the changed tests. --- specreduce/tests/test_specphot_stds.py | 1 + specreduce/tests/test_synth_data.py | 1 + 2 files changed, 2 insertions(+) diff --git a/specreduce/tests/test_specphot_stds.py b/specreduce/tests/test_specphot_stds.py index 5d66e5a..756861a 100644 --- a/specreduce/tests/test_specphot_stds.py +++ b/specreduce/tests/test_specphot_stds.py @@ -17,6 +17,7 @@ def test_load_MAST_bad_filename(): sp = load_MAST_calspec("j191b2b_005.fits", show_progress=False) assert sp is None + @pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") @pytest.mark.remote_data def test_load_onedstds(): diff --git a/specreduce/tests/test_synth_data.py b/specreduce/tests/test_synth_data.py index ae06b89..0e1d910 100644 --- a/specreduce/tests/test_synth_data.py +++ b/specreduce/tests/test_synth_data.py @@ -27,6 +27,7 @@ def test_make_2d_arc_image_defaults(): ccdim = make_2d_arc_image() assert isinstance(ccdim, CCDData) + @pytest.mark.remote_data @pytest.mark.filterwarnings("ignore:No observer defined on WCS") @pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")