issue_comments: 907340223
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/5571#issuecomment-907340223 | https://api.github.com/repos/pydata/xarray/issues/5571 | 907340223 | IC_kwDOAMm_X842FOm_ | 14371165 | 2021-08-27T16:55:12Z | 2021-08-27T16:55:12Z | MEMBER | Saw dask does similar fixes too: https://github.com/dask/dask/blob/85f0b14bd36a5135ce51aeee067b6207374b00c4/dask/array/wrap.py#L183 Here's a version inspired by that one: ```python around = _dask_or_eager_func("around") np.around has failing doctests, overwrite it so they pass:https://github.com/numpy/numpy/issues/19759around.doc = test.doc.replace( "array([0., 2.])", "array([0., 2.])", ) around.doc = test.doc.replace( "array([0.4, 1.6])", "array([0.4, 1.6])", ) around.doc = test.doc.replace( "array([0., 2., 2., 4., 4.])", "array([0., 2., 2., 4., 4.])", ) ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
936313924 |