Duckarray tests for constructors and properties #10893
Annotations
5 errors
Run tests:
xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[float64-data-method_reorder_levels]
ValueError: conflicting MultiIndex level / variable name(s):
x
y
|
Run tests:
xarray/tests/test_units.py#L4744
TestDataset.test_stacking_stacked[int64-data-method_reorder_levels]
ValueError: conflicting MultiIndex level / variable name(s):
x
y
|
Run tests:
xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[max-is_real_floating]
hypothesis.errors.FailedHealthCheck: It looks like your strategy is filtering out a lot of data. Health check found 50 filtered examples but only 9 good ones. This will make your tests much slower, and also will probably distort the data generation quite a lot. You should adapt your strategy to filter less. This can also be caused by a low max_leaves parameter in recursive() calls
See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.filter_too_much to the suppress_health_check settings for this test.
|
Run tests:
xarray/testing/duckarrays.py#L110
TestReductions.test_reduce_variable[sum-is_real_floating]
AssertionError: Left and right Variable objects are not identical
Differing values:
L
Array(1.008608e+08, dtype=float64)
R
array(1.008608e+08, dtype=float32)
Falsifying example: test_reduce_variable(
self=<xarray.tests.duckarrays.test_array_api.TestReductions object at 0x7f7a2fd3b340>,
method='sum',
dtype_assumption=is_real_floating,
data=data(...),
)
Draw 1: <xarray.Variable (0: 3)>
Array([33620276., 33620276., 33620276.], dtype=float32)
Draw 2: ['0']
actual:
<xarray.Variable ()>
Array(1.00860828e+08, dtype=float64)
expected:
<xarray.Variable ()>
array(1.0086083e+08, dtype=float32)
You can reproduce this example by temporarily adding @reproduce_failure('6.92.2', b'AXicY2ZgZGQAAiYGCGBiZDQG0QABxwA/') as a decorator on your test case
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading