Skip to content

Commit 2549b36

Browse files
committed
Fix deprecated use of xarray dims
1 parent b7f9295 commit 2549b36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mpas_analysis/test/test_climatology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def test_compute_climatology(self):
214214
monthValues = constants.monthDictionary[monthNames]
215215
dsClimatology = compute_climatology(ds, monthValues, calendar)
216216

217-
assert('Time' not in dsClimatology.dims.keys())
217+
assert('Time' not in dsClimatology.dims)
218218

219219
self.assertEqual(list(dsClimatology.data_vars.keys()), ['mld'])
220220

0 commit comments

Comments
 (0)