home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 774112777

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/4760#issuecomment-774112777 https://api.github.com/repos/pydata/xarray/issues/4760 774112777 MDEyOklzc3VlQ29tbWVudDc3NDExMjc3Nw== 10194086 2021-02-05T15:44:58Z 2021-02-05T16:14:22Z MEMBER

True, but for the problem that the diff repr is not shown I think it makes sense to go for this, e.g. the following works fine:

```python def test_x():

data_array1 = xr.DataArray(data=1 * unit_registry.m)
data_array2 = xr.DataArray(data=2 * unit_registry.m)

with warnings.catch_warnings():
    warnings.simplefilter("always")

    xr.testing.assert_allclose(data_array1, data_array2)

```

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