Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
siligam committed Sep 20, 2024
1 parent a07fe99 commit 291cd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_when_target_units_is_None_overrides_existing_units(rule_with_units, fro
rule_spec.model_unit = None
da = xr.DataArray(10, attrs={"units": from_unit})
new_da = handle_unit_conversion(da, rule_spec)
assert new_da.attrs["units"] == to_unit
assert new_da.attrs["units"] == drv.unit


@pytest.mark.parametrize("from_unit", ["m/s", None])
Expand Down

0 comments on commit 291cd84

Please sign in to comment.