Skip to content

Commit

Permalink
TST: Some lines not covered
Browse files Browse the repository at this point in the history
simply because we have no such files in ASCII format.
  • Loading branch information
pllim committed Mar 15, 2024
1 parent 80e7334 commit c685801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion synphot/reddening.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def from_file(cls, filename, **kwargs):
if is_fits("", filename, None):
if 'flux_col' not in kwargs:
kwargs['flux_col'] = 'Av/E(B-V)'
elif 'flux_unit' not in kwargs:
elif 'flux_unit' not in kwargs: # pragma: no cover
kwargs['flux_unit'] = cls._internal_flux_unit

header, wavelengths, rvs = specio.read_spec(filename, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion synphot/spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ def from_filter(cls, filtername, **kwargs):
if is_fits("", filename, None):
if 'flux_col' not in kwargs:
kwargs['flux_col'] = 'THROUGHPUT'
elif 'flux_unit' not in kwargs:
elif 'flux_unit' not in kwargs: # pragma: no cover
kwargs['flux_unit'] = cls._internal_flux_unit

header, wavelengths, throughput = specio.read_remote_spec(
Expand Down

0 comments on commit c685801

Please sign in to comment.