Skip to content

Commit

Permalink
units change
Browse files Browse the repository at this point in the history
  • Loading branch information
kelle committed Nov 15, 2024
1 parent 7a77b5d commit c3c4180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,12 @@ def setUp(self):

def test_fits(self):
"""Test that a fits file can be loaded"""
spec = sp.FileSpectrum(self.fitsfile, wave_units='um', flux_units='erg/s/cm2/AA')
spec = sp.FileSpectrum(self.fitsfile, wave_units='um', flux_units='erg s-1 cm-2 AA-1')
assert spec

def test_txt(self):
"""Test that a txt file can be loaded"""
spec = sp.FileSpectrum(self.txtfile, wave_units='um', flux_units='erg/s/cm2/AA')
spec = sp.FileSpectrum(self.txtfile, wave_units='um', flux_units='erg s-1 cm-2 AA-1')
assert spec


Expand Down

0 comments on commit c3c4180

Please sign in to comment.