We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The test fails because the expected ValueError is not raised:
ValueError
________________________ test_dask_da_groupby_quantile _________________________ [gw2] linux -- Python 3.13.0 /usr/bin/python3 @requires_dask def test_dask_da_groupby_quantile() -> None: # Only works when the grouped reduction can run blockwise # Scalar quantile expected = xr.DataArray( data=[2, 5], coords={"x": [1, 2], "quantile": 0.5}, dims="x" ) array = xr.DataArray( data=[1, 2, 3, 4, 5, 6], coords={"x": [1, 1, 1, 2, 2, 2]}, dims="x" ) > with pytest.raises(ValueError): E Failed: DID NOT RAISE <class 'ValueError'> /builddir/build/BUILD/python-xarray-2024.11.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_groupby.py:295: Failed
Test pass.
pytest 'tests/test_groupby.py::test_dask_da_groupby_quantile'
No response
xarray: 2024.11.0 pandas: 2.2.1 numpy: 1.26.4 scipy: 1.14.1 netCDF4: 1.7.2 pydap: None h5netcdf: None h5py: None zarr: 2.18.3 cftime: 1.6.4 nc_time_axis: None iris: None bottleneck: 1.3.7 dask: 2024.11.2 distributed: None matplotlib: 3.9.1 cartopy: None seaborn: 0.13.2 numbagg: None fsspec: 2024.10.0 cupy: None pint: 0.24.4 sparse: None flox: None numpy_groupies: None setuptools: 74.1.3 pip: 24.3.1 conda: None pytest: 8.3.3 mypy: None IPython: None sphinx: 7.3.7
The text was updated successfully, but these errors were encountered:
Does it fail in CI?
Sorry, something went wrong.
It's not clear to me whether that test runs in CI, and your codecov results haven't updated in 10 months, so it doesn't have that new test.
Add token to codecov
70b9b67
Without this, we can't upload on `main`, I think. I added a token into our Actions Secrets. ref pydata#9860
Yeah, good spot. Hopefully #9865 should fix that. I think it still works on non-main branchs fwiw
Add token to codecov (#9865)
f9ed727
Without this, we can't upload on `main`, I think. I added a token into our Actions Secrets. ref #9860
No branches or pull requests
What happened?
The test fails because the expected
ValueError
is not raised:What did you expect to happen?
Test pass.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
xarray: 2024.11.0
pandas: 2.2.1
numpy: 1.26.4
scipy: 1.14.1
netCDF4: 1.7.2
pydap: None
h5netcdf: None
h5py: None
zarr: 2.18.3
cftime: 1.6.4
nc_time_axis: None
iris: None
bottleneck: 1.3.7
dask: 2024.11.2
distributed: None
matplotlib: 3.9.1
cartopy: None
seaborn: 0.13.2
numbagg: None
fsspec: 2024.10.0
cupy: None
pint: 0.24.4
sparse: None
flox: None
numpy_groupies: None
setuptools: 74.1.3
pip: 24.3.1
conda: None
pytest: 8.3.3
mypy: None
IPython: None
sphinx: 7.3.7
The text was updated successfully, but these errors were encountered: