Skip to content

Commit

Permalink
TST: specviz2d no longer warns
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Mar 9, 2023
1 parent 8046f48 commit acbe032
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jdaviz/configs/specviz2d/tests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
def test_2d_parser_jwst(specviz2d_helper):
fn = download_file('https://stsci.box.com/shared/static/exnkul627fcuhy5akf2gswytud5tazmw.fits', cache=True) # noqa

with pytest.warns(AsdfWarning, match='jwextension'):
specviz2d_helper.load_data(spectrum_2d=fn)
specviz2d_helper.load_data(spectrum_2d=fn)
assert len(specviz2d_helper.app.data_collection) == 2

dc_0 = specviz2d_helper.app.data_collection[0]
Expand Down

0 comments on commit acbe032

Please sign in to comment.