Skip to content

Commit

Permalink
Ignoring 'pytest.PytestUnraisableExceptionWarning' warnings that are …
Browse files Browse the repository at this point in the history
…raised for "test_make_2d_arc_pass_wcs" and "test_load_onedstds" on Python 3.11.
  • Loading branch information
hpparvi committed Nov 29, 2024
1 parent b80551b commit 3b87c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specreduce/tests/test_specphot_stds.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +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():
sp = load_onedstds()
Expand Down
2 changes: 1 addition & 1 deletion specreduce/tests/test_synth_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ 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")
def test_make_2d_arc_pass_wcs():
nx = 3000
ny = 1000
Expand Down

0 comments on commit 3b87c60

Please sign in to comment.