Skip to content

Commit 25bced2

Browse files
committed
Revised wavecal1d tests.
1 parent f15e7cb commit 25bced2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specreduce/tests/test_wavecal1d.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def test_init(mk_arc, mk_lines):
7777
with pytest.raises(ValueError, match="Only one of arc_spectra or obs_lines can be provided."):
7878
WavelengthCalibration1D(ref_pixel, arc_spectra=arc, obs_lines=obs_lines)
7979

80-
arc = Spectrum(flux=np.array([[1, 2]]) * u.DN, spectral_axis=np.array([1, 2]) * u.angstrom)
80+
arc = Spectrum(flux=np.array([[1, 2, 3, 4, 5]]) * u.DN,
81+
spectral_axis=np.array([1, 2, 3, 4, 5]) * u.angstrom)
8182
with pytest.raises(ValueError, match="The arc spectrum must be one dimensional."):
8283
WavelengthCalibration1D(ref_pixel, arc_spectra=arc)
8384

0 commit comments

Comments
 (0)