Add support for Array API in NamedArray #15429
Annotations
10 errors and 1 warning
Run tests:
xarray/tests/test_array_api.py#L41
test_aggregation
ValueError: x must be at least 2-dimensional for matrix_transpose
|
Run tests:
xarray/tests/test_array_api.py#L49
test_aggregation_skipna
ValueError: x must be at least 2-dimensional for matrix_transpose
|
Run tests:
xarray/tests/test_namedarray.py#L264
TestNamedArray.test_from_array_with_explicitly_indexed
assert False
+ where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable)
+ where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
|
Run tests:
xarray/tests/test_namedarray.py#L279
TestNamedArray.test_real_and_imag
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_namedarray.py#L381
TestNamedArray.test_duck_array_class
TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs:
_arrayfunction - {'__array_function__', 'imag', '__array_ufunc__', 'real'}
_arrayapi - {'device', 'to_device', 'mT'}
|
Run tests:
xarray/tests/test_namedarray.py#L390
TestNamedArray.test_duck_array_class_array_api
ValueError: x must be at least 2-dimensional for matrix_transpose
|
Run tests:
xarray/tests/test_rolling.py#L260
TestDataArrayRolling.test_rolling_reduce[bottleneck-numpy-sum-1-None-True-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_rolling.py#L260
TestDataArrayRolling.test_rolling_reduce[bottleneck-numpy-sum-1-None-False-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_rolling.py#L260
TestDataArrayRolling.test_rolling_reduce[bottleneck-numpy-sum-1-1-True-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_rolling.py#L260
TestDataArrayRolling.test_rolling_reduce[bottleneck-numpy-sum-1-1-False-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Restore cached hypothesis directory
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Loading