From 42949891ef2cc1113906d52ad88c90ad1d5c3348 Mon Sep 17 00:00:00 2001 From: ValentinaHutter Date: Tue, 5 Nov 2024 12:02:05 +0100 Subject: [PATCH] add aggregate-temporal-period options --- tests/test_aggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_aggregate.py b/tests/test_aggregate.py index 93e7add..d4b21e1 100644 --- a/tests/test_aggregate.py +++ b/tests/test_aggregate.py @@ -117,7 +117,7 @@ def test_aggregate_temporal_period( ) assert len(output_cube.t) == expected - assert isinstance(output_cube.t.values[0], np.datetime64) + assert type(output_cube.t.values[0]) in [str, np.datetime64] @pytest.mark.parametrize("size", [(6, 5, 4, 4)])