Closed
Description
Python 3.12 Test Summary
xarray/tests/test_calendar_ops.py::test_convert_calendar_360_days[date-standard-360_day-D]: AssertionError:
Arrays are not equal
Mismatched elements: 1 / 12 (8.33%)
Max absolute difference among violations: 1
Max relative difference among violations: 0.03448276
ACTUAL: array(30)
DESIRED: array([30, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30])
xarray/tests/test_calendar_ops.py::test_convert_calendar_360_days[date-360_day-proleptic_gregorian-D]: AssertionError:
Arrays are not equal
Mismatched elements: 1 / 12 (8.33%)
Max absolute difference among violations: 1
Max relative difference among violations: 0.03448276
ACTUAL: array(30)
DESIRED: array([30, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30])
xarray/tests/test_calendar_ops.py::test_convert_calendar_360_days[date-proleptic_gregorian-360_day-4h]: AssertionError:
Arrays are not equal
Mismatched elements: 1 / 12 (8.33%)
Max absolute difference among violations: 1
Max relative difference among violations: 0.03448276
ACTUAL: array(30)
DESIRED: array([30, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30])
xarray/tests/test_calendar_ops.py::test_convert_calendar_360_days[year-standard-360_day-D]: AssertionError:
Arrays are not equal
Mismatched elements: 1 / 12 (8.33%)
Max absolute difference among violations: 1
Max relative difference among violations: 0.03448276
ACTUAL: array(30)
DESIRED: array([30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 29])
xarray/tests/test_calendar_ops.py::test_convert_calendar_360_days[year-360_day-proleptic_gregorian-D]: AssertionError:
Arrays are not equal
Mismatched elements: 6 / 12 (50%)
Max absolute difference among violations: 1
Max relative difference among violations: 0.03448276
ACTUAL: array(30)
DESIRED: array([30, 29, 30, 30, 31, 30, 30, 31, 30, 31, 29, 31])
xarray/tests/test_calendar_ops.py::test_convert_calendar_360_days[year-proleptic_gregorian-360_day-4h]: AssertionError:
Arrays are not equal
Mismatched elements: 1 / 12 (8.33%)
Max absolute difference among violations: 1
Max relative difference among violations: 0.03448276
ACTUAL: array(30)
DESIRED: array([30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 29])
xarray/tests/test_dask.py::TestDataArrayAndDataset::test_groupby_first_last[first]: AssertionError: assert False
+ where False = isinstance(array('a', dtype='<U1'), <class 'dask.array.core.Array'>)
+ where array('a', dtype='<U1') = <xarray.DataArray 'ab' ()> Size: 4B\narray('a', dtype='<U1')\nCoordinates:\n ab <U1 4B 'a'.data
+ and <class 'dask.array.core.Array'> = da.Array
xarray/tests/test_dask.py::TestDataArrayAndDataset::test_groupby_first_last[last]: AssertionError: assert False
+ where False = isinstance(array('a', dtype='<U1'), <class 'dask.array.core.Array'>)
+ where array('a', dtype='<U1') = <xarray.DataArray 'ab' ()> Size: 4B\narray('a', dtype='<U1')\nCoordinates:\n ab <U1 4B 'a'.data
+ and <class 'dask.array.core.Array'> = da.Array
xarray/tests/test_groupby.py::TestDataArrayGroupBy::test_stack_groupby_unsorted_coord: AssertionError: Left and right DataArray objects are not equal
Differing dimensions:
() != (z: 4)
Differing values:
L
array(0)
R
array([0, 1, 2, 3])
Differing coordinates:
L z object 8B (0, 3)
R * z (z) object 32B MultiIndex
Coordinates only on the right object:
* x (z) int64 32B 0 0 1 1
* y (z) int64 32B 3 2 3 2
xarray/tests/test_groupby.py::TestDataArrayGroupBy::test_groupby_first_and_last: AssertionError: Left and right DataArray objects are not identical
Differing dimensions:
(ab: 2) != ()
Differing values:
L
array([1, 3])
R
array(1)
Differing coordinates:
L * ab (ab) <U1 8B 'a' 'b'
R ab <U1 4B 'a'
xarray/tests/test_groupby.py::TestDataArrayResample::test_resample_first: AssertionError: Left and right DataArray objects are not identical
Differing dimensions:
(time: 10) != ()
Differing values:
L
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
R
array(0)
Differing coordinates:
L * time (time) datetime64[ns] 80B 2000-01-01 ... 2000-01-03T06:00:00
R time datetime64[ns] 8B 2000-01-01
xarray/tests/test_groupby.py::TestDatasetResample::test_resample_and_first: AssertionError
xarray/tests/test_groupby.py::TestDatasetResample::test_resample_by_last_discarding_attrs: TypeError: string indices must be integers, not 'str'