Skip to content

Commit

Permalink
fix multislit test
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Feb 24, 2025
1 parent df4cb2b commit 8f002d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdatamodels/jwst/datamodels/tests/test_multislit.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_multislit_copy(tmp_path):
path = tmp_path / "multislit.fits"
with MultiSlitModel() as input_file:
for _ in range(4):
input_file.slits.append(input_file.slits.item(data=np.empty((50, 50))))
input_file.slits.append(input_file.slits.item(data=np.empty((50, 50), dtype="f4")))

assert len(input_file.slits) == 4
input_file.save(path)
Expand Down

0 comments on commit 8f002d9

Please sign in to comment.