Skip to content

Commit f727a77

Browse files
Backport PR #9667 on branch release/1.19.x (Test update following WFSS FITS unit change) (#9673)
Co-authored-by: Tyler Pauly <[email protected]>
1 parent 2b54b7d commit f727a77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jwst/datamodels/utils/tests/test_wfss_multispec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_make_wfss_multiexposure(input_model_maker, request):
7070
# test one vector-like column, which should come from the input specmodels
7171
# and one meta column, which should be copied from the schema by set_schema_units
7272
to_check = ["WAVELENGTH", "SOURCE_RA"]
73-
expected_units = ["um", "degrees"]
73+
expected_units = ["um", "deg"]
7474
for exposure in output_model.spec:
7575
for col in to_check:
7676
assert col in exposure.spec_table.columns.names
@@ -196,7 +196,7 @@ def test_make_wfss_combined(comb1d_list):
196196

197197
# test units
198198
to_check = ["WAVELENGTH", "SOURCE_RA"]
199-
expected_units = ["um", "degrees"]
199+
expected_units = ["um", "deg"]
200200
for col in to_check:
201201
assert col in spec.spec_table.columns.names
202202
assert spec.spec_table.columns[col].unit == expected_units[to_check.index(col)]

0 commit comments

Comments
 (0)