home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 374704277

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
374704277 MDU6SXNzdWUzNzQ3MDQyNzc= 2521 test_infer_cftime_datetime_units failing on Windows 1217238 closed 0     0 2018-10-28T00:40:31Z 2018-10-30T01:00:43Z 2018-10-30T01:00:43Z MEMBER      

I don't know why, but this test is now failing on Python 2.7 / Windows: https://ci.appveyor.com/project/shoyer/xray/builds/19850608 ``` ================================== FAILURES =================================== ____ test_infer_cftime_datetime_units _____ @pytest.mark.skipif(not has_cftime_or_netCDF4, reason='cftime not installed') def test_infer_cftime_datetime_units(): date_types = _all_cftime_date_types() for date_type in date_types.values(): for dates, expected in [ ([date_type(1900, 1, 1), date_type(1900, 1, 2)], 'days since 1900-01-01 00:00:00.000000'), ([date_type(1900, 1, 1, 12), date_type(1900, 1, 1, 13)], 'seconds since 1900-01-01 12:00:00.000000'), ([date_type(1900, 1, 1), date_type(1900, 1, 2), date_type(1900, 1, 2, 0, 0, 1)], 'seconds since 1900-01-01 00:00:00.000000'), ([date_type(1900, 1, 1), date_type(1900, 1, 2, 0, 0, 0, 5)], 'days since 1900-01-01 00:00:00.000000'), ([date_type(1900, 1, 1), date_type(1900, 1, 8), date_type(1900, 1, 16)], 'days since 1900-01-01 00:00:00.000000')]:

          assert expected == coding.times.infer_datetime_units(dates)

E AssertionError: assert 'seconds sinc...:00:00.000000' == 'hours since 1...:00:00.000000' E - seconds since 1900-01-01 12:00:00.000000 E ? ------ E + hours since 1900-01-01 12:00:00.000000 E ? ++++ ```

@spencerkclark please take a look (or we can xfail this if necessary)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2521/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.745ms · About: xarray-datasette