home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 651624166

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/4187#issuecomment-651624166 https://api.github.com/repos/pydata/xarray/issues/4187 651624166 MDEyOklzc3VlQ29tbWVudDY1MTYyNDE2Ng== 23487320 2020-06-30T08:02:03Z 2020-06-30T09:23:32Z CONTRIBUTOR

This is the one test failure (AttributeError) on Linux py36-bare-minimum:

```python-traceback =================================== FAILURES =================================== __________________________ TestDataset.test_lazy_load __________________________ self = <xarray.tests.test_dataset.TestDataset object at 0x7fa80b2b7be0> def test_lazy_load(self): store = InaccessibleVariableDataStore() create_test_data().dump_to_store(store) for decode_cf in [True, False]: > ds = open_dataset(store, decode_cf=decode_cf) xarray/tests/test_dataset.py:4188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xarray/backends/api.py:578: in open_dataset engine = _get_engine_from_magic_number(filename_or_obj) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename_or_obj = <xarray.tests.test_dataset.InaccessibleVariableDataStore object at 0x7fa80b2b7d30> def _get_engine_from_magic_number(filename_or_obj): # check byte header to determine file type if isinstance(filename_or_obj, bytes): magic_number = filename_or_obj[:8] else: > if filename_or_obj.tell() != 0: E AttributeError: 'InaccessibleVariableDataStore' object has no attribute 'tell' xarray/backends/api.py:116: AttributeError ```

Been scratching my head debugging this one. There doesn't seem to be an obvious reason why this test is failing, since 1) this test isn't for Zarr and 2) this test shouldn't be affected by the new if blocks checking if engine=="zarr". Will need to double check the logic here.

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