pull_requests: 398149869
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
398149869 | MDExOlB1bGxSZXF1ZXN0Mzk4MTQ5ODY5 | 3930 | closed | 0 | Only fail certain use_cftime backend tests if a specific warning occurs | 6628425 | - [x] Closes #3928 - [x] Passes `isort -rc . && black . && mypy . && flake8` The warning we want to avoid in these tests is: ``` SerializationWarning: Unable to decode time axis into full numpy.datetime64 objects, continuing using cftime.datetime objects instead, reason: dates out of range dtype = _decode_cf_datetime_dtype(data, units, calendar, self.use_cftime) ``` Other warnings could occur, but shouldn't cause the tests to fail. This modifies these tests to only fail if a warning with this message occurs. The warning that is occurring seems to be stemming from [within the netcdf4-python library](https://github.com/Unidata/netcdf4-python/blob/06e58422204cc77946fa21effd31ffb9421bd139/netCDF4/_netCDF4.pyx#L1416-L1419): ``` DeprecationWarning: tostring() is deprecated. Use tobytes() instead. attributes = {k: var.getncattr(k) for k in var.ncattrs()} ``` | 2020-04-03T12:39:47Z | 2020-04-03T23:22:29Z | 2020-04-03T19:35:18Z | 2020-04-03T19:35:18Z | 6bccbff975d59530a8c9cb1979cfcd5c8327254e | 0 | 67c0d933d5860088ec905a2491e952560f37e476 | 1ed4f4d6d967d8b9435368444d9af6247748a047 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/3930 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests