Skip to content

Commit

Permalink
Fixing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacspitzer committed Jul 22, 2024
1 parent b9c6842 commit bcaaae4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pysynphot/test/test_observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ def test_check_overlap(self):
w2 = np.array([100., 1000., 5000.])
sp2 = ArraySourceSpectrum(w2, f)
assert pysynphot.observation.check_overlap(sp1, sp2) == 'partial'
# But sp2 covers the entire span of sp1 in this case.
assert pysynphot.observation.check_overlap(sp2, sp1) == 'full'
assert pysynphot.observation.check_overlap(sp2, sp1) == 'partial'

# Check for no overlap with 2 non-analytic spectra
w2 = np.array(5000., 6000., 7000.)
Expand Down

0 comments on commit bcaaae4

Please sign in to comment.