issues: 309592370
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
309592370 | MDU6SXNzdWUzMDk1OTIzNzA= | 2025 | dask ImportWarning causes pytest failure | 1191149 | closed | 0 | 2 | 2018-03-29T02:01:50Z | 2018-03-30T03:44:55Z | 2018-03-30T03:44:55Z | CONTRIBUTOR | Code Sample, a copy-pastable example if possible```bash Your code herepytest -v xarray/tests/test_backends.py::NetCDF4DataTest ``` Problem descriptionInstead of passing all tests, this fails on the
It oddly doesn't seem to be related to the 88 character issue. I traced this down to xarray/backends/common.py::get_scheduler where an "ImportWarning" is not being caught on line 49. Expected OutputPasses all tests. Adding ImportWarning to the tuple of exceptions in get_scheduler fixes the problem. Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2025/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |