home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 750308769

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/4726#issuecomment-750308769 https://api.github.com/repos/pydata/xarray/issues/4726 750308769 MDEyOklzc3VlQ29tbWVudDc1MDMwODc2OQ== 10194086 2020-12-23T13:50:44Z 2020-12-23T13:50:44Z MEMBER

I assume you know this, but in case not. I find it's easiest to suppress the message using:

python @pytest.mark.filterwarnings("ignore:Specified Dask chunks") def test_xy(): ...

If you want to test for the warning you can use:

python def test_xy(): with pytest.warns(UserWarning, match="Specified Dask chunks"): func(...) note that this also suppresses the warning - i.e. you don't need both.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  773717776
Powered by Datasette · Queries took 0.931ms · About: xarray-datasette