Skip to content

Commit

Permalink
test foo_measure rather than foo
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Dec 2, 2020
1 parent c45cddc commit 36bc9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf_xarray/tests/test_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_cell_measures(capsys):
ds["foo"].attrs["cell_measures"] = ds["air"].attrs["cell_measures"]
expected = dict(area=["cell_area"], foo_measure=["foo"], volume=["foo"])
actual_air = ds["air"].cf.cell_measures
actual_foo = ds["foo"].cf.cell_measures
actual_foo = ds.cf["foo_measure"].cf.cell_measures
assert actual_air == actual_foo == expected

actual = ds.cf.cell_measures
Expand Down

0 comments on commit 36bc9ac

Please sign in to comment.