Relax nanosecond datetime restriction in CF time coding #15484
Annotations
10 errors and 1 warning
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[s-gregorian]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[s-standard]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[ms-gregorian]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[ms-standard]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[us-gregorian]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[us-standard]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[ns-gregorian]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[ns-proleptic_gregorian]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests:
xarray/tests/test_coding_times.py#L230
test_decode_standard_calendar_inside_timestamp_range[ns-standard]
AssertionError: assert dtype('<M8[s]') == dtype('<M8[us]')
+ where dtype('<M8[s]') = array(['2001-04-01T00:00:00', '2001-04-01T01:00:00',\n '2001-04-01T02:00:00', '2001-04-01T03:00:00',\n '2001...30T20:00:00', '2001-04-30T21:00:00',\n '2001-04-30T22:00:00', '2001-04-30T23:00:00'],\n dtype='datetime64[s]').dtype
|
Run tests
Process completed with exit code 1.
|
Restore cached hypothesis directory
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release.
A separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
|
Loading