Commit 8c952354 authored by Jan Klaus Rieck's avatar Jan Klaus Rieck

checking timeave with flag monthly

parent 6cad1b1d
Pipeline #3605 failed with stage
in 1 minute and 51 seconds
......@@ -255,12 +255,14 @@ def test_construct_ef(ds_sel):
'e3f has a depth dimension'
def test_timeave():
@pytest.mark.parametrize('monthly',
[True, False])
def test_timeave(monthly):
""" Test timeave().
"""
t_ave = xbox.timeave(ds)[0]
assert 't' not in t_ave.dims,\
t_ave = xbox.timeave(ds, 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