Fix upcasting with python builtin numbers and numpy 2 #12320
Annotations
10 errors
Run tests:
xarray/tests/test_concat.py#L340
test_concat_type_of_missing_fill
AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L string (x, y, day) <U1 64B 'd' 'b' 'n' 'n' 'c' ... 'n' 'a' 'f' 'n' 'n'
R string (x, y, day) object 128B 'd' 'b' nan nan 'c' ... 'a' 'f' nan nan
|
Run tests:
xarray/tests/test_concat.py#L1089
TestConcatDataArray.test_concat_fill_value[fill_value0]
AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array([[ 1, 2, -9223372036854775808],
[ 1, -9223372036854775808, 2]])
R
array([[ 1., 2., nan],
[ 1., nan, 2.]])
|
Run tests:
xarray/tests/test_dataarray.py#L2764
TestDataArray.test_where_string
AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array(['a', 'n'], dtype='<U1')
R
array(['a', nan], dtype=object)
|
Run tests:
xarray/tests/test_dataarray.py#L5563
TestReduce2D.test_idxmin[nodask-nan]
AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array([ 20, 0, -9223372036854775808])
R
array([20., 0., nan])
|
Run tests:
xarray/tests/test_dataarray.py#L5563
TestReduce2D.test_idxmin[nodask-obj]
AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array([ 20, 0, -9223372036854775808])
R
array([20., 0., nan])
|
Run tests:
xarray/tests/test_dataarray.py#L5705
TestReduce2D.test_idxmax[nodask-nan]
AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array([ 0, 8, -9223372036854775808])
R
array([ 0., 8., nan])
|
Run tests:
xarray/tests/test_dataarray.py#L5705
TestReduce2D.test_idxmax[nodask-obj]
AssertionError: Left and right DataArray objects are not identical
Differing values:
L
array([ 0, 8, -9223372036854775808])
R
array([ 0., 8., nan])
|
Run tests:
xarray/tests/test_dataset.py#L2073
TestDataset.test_reindex_like
AssertionError: Left and right Dataset objects are not identical
Differing data variables:
L letters (dim3) <U1 40B 'a' 'a' 'a' 'a' 'a' 'a' 'a' 'a' 'n' 'n'
R letters (dim3) object 80B 'a' 'a' 'a' 'a' 'a' 'a' 'a' 'a' nan nan
|
Run tests:
xarray/tests/test_duck_array_ops.py#L160
TestOps.test_where_type_promotion
TypeError: Field elements must be 2- or 3-tuples, got '1'
|
Run tests:
xarray/tests/test_duck_array_ops.py#L213
TestOps.test_stack_type_promotion
ValueError: invalid literal for int() with base 10: 'b'
|
Loading