home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 554113722

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/3493#issuecomment-554113722 https://api.github.com/repos/pydata/xarray/issues/3493 554113722 MDEyOklzc3VlQ29tbWVudDU1NDExMzcyMg== 14808389 2019-11-14T22:36:51Z 2019-11-14T22:36:51Z MEMBER

hmm... well, I certainly agree the tests are often quite verbose (maybe too verbose) and sometimes also test functionality of pint (e.g. when incompatible, compatible and identical units are tried). I didn't check, but I don't remember any overlaps with tests from test_dataarray.py or test_dataset.py (if that's what you meant).

To reduce the code, it might be worth to only test compatible units. We could also try to use helper functions for data creation, but while that reduces the code it also makes understanding it a little bit harder.

If Variable is part of the external API it definitely needs tests.

Reusing tests from test_dataarray.py / test_dataset.py / test_variable.py is tempting, but I don't think it is possible unless we rewrite them. Am I missing something?

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