Commit f5acd268 authored by Jan Klaus Rieck's avatar Jan Klaus Rieck

test timeave for dataset without dimension z_c due to memory problems

parent 95a14df7
Pipeline #3608 passed with stage
in 1 minute and 55 seconds
......@@ -261,7 +261,7 @@ def test_timeave(monthly):
""" Test timeave().
t_ave = xbox.timeave(ds_z_c, monthly=monthly)[0]
t_ave = xbox.timeave(ds_z_l, monthly=monthly)[0]
assert 't' and 'month' not in t_ave.dims,\
'time averaging did not work'
......@@ -270,7 +270,7 @@ def test_timeave_raises_keyerror():
""" Test whether timeave() raises key errorself.
ds_t_ave = ds_z_c.mean('t')
ds_t_ave = ds_z_l.mean('t')
with pytest.raises(KeyError):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment