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

do not use getbox() for testing of timeave... not necessary

parent ef97f92e
Pipeline #3635 failed with stage
in 1 minute and 38 seconds
......@@ -304,9 +304,7 @@ def test_timeave(monthly):
""" Test timeave().
"""
ds_box = xbox.getbox(ds_z_l, time=['2000-01-01', '2000-06-30'],
depth=[500, 1000], x=[10, 20], y=[0, 40])
t_ave = xbox.timeave(ds_box, monthly=monthly)[0]
t_ave = xbox.timeave(ds_2d, monthly=monthly)[0]
assert 't' and 'month' not in t_ave.dims,\
'time averaging did not work'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment