Relax nanosecond datetime restriction in CF time decoding #15773
Annotations
10 errors and 2 warnings
Run tests:
xarray/tests/test_conventions.py#L653
test_encode_cf_variable_with_vlen_dtype
KeyError: 0
|
Run tests:
xarray/tests/test_variable.py#L1096
TestVariable.test_datetime64_conversion_scalar[values1-s]
AssertionError: assert dtype('<M8[ns]') == dtype('<M8[s]')
+ where dtype('<M8[ns]') = <xarray.Variable ()> Size: 8B\narray('2000-01-01T00:00:00.000000000', dtype='datetime64[ns]').dtype
+ and dtype('<M8[s]') = <class 'numpy.dtype'>('datetime64[s]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L1096
TestVariable.test_datetime64_conversion_scalar[values2-us]
AssertionError: assert dtype('<M8[ns]') == dtype('<M8[us]')
+ where dtype('<M8[ns]') = <xarray.Variable ()> Size: 8B\narray('2000-01-01T00:00:00.000000000', dtype='datetime64[ns]').dtype
+ and dtype('<M8[us]') = <class 'numpy.dtype'>('datetime64[us]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L1113
TestVariable.test_timedelta64_conversion_scalar[values1-us]
AssertionError: assert dtype('<m8[ns]') == dtype('<m8[us]')
+ where dtype('<m8[ns]') = <xarray.Variable ()> Size: 8B\narray(86400000000000, dtype='timedelta64[ns]').dtype
+ and dtype('<m8[us]') = <class 'numpy.dtype'>('timedelta64[us]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L1113
TestVariable.test_timedelta64_conversion_scalar[values2-us]
AssertionError: assert dtype('<m8[ns]') == dtype('<m8[us]')
+ where dtype('<m8[ns]') = <xarray.Variable ()> Size: 8B\narray(86400000000000, dtype='timedelta64[ns]').dtype
+ and dtype('<m8[us]') = <class 'numpy.dtype'>('timedelta64[us]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L1129
TestVariable.test_0d_datetime
AssertionError: assert dtype('<M8[ns]') == dtype('<M8[s]')
+ where dtype('<M8[ns]') = <xarray.Variable ()> Size: 8B\narray('2000-01-01T00:00:00.000000000', dtype='datetime64[ns]').dtype
+ and dtype('<M8[s]') = <class 'numpy.dtype'>('datetime64[s]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L1139
TestVariable.test_0d_timedelta[values0-us]
AssertionError: assert dtype('<m8[ns]') == dtype('<m8[us]')
+ where dtype('<m8[ns]') = <xarray.Variable ()> Size: 8B\narray(1000000000, dtype='timedelta64[ns]').dtype
+ and dtype('<m8[us]') = <class 'numpy.dtype'>('timedelta64[us]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L2682
TestAsCompatibleData.test_datetime
AssertionError: assert dtype('<M8[us]') == dtype('<M8[ns]')
+ where dtype('<M8[us]') = <class 'numpy.dtype'>('datetime64[us]')
+ where <class 'numpy.dtype'> = np.dtype
+ and dtype('<M8[ns]') = array('2000-01-01T00:00:00.000000000', dtype='datetime64[ns]').dtype
|
Run tests:
xarray/tests/test_variable.py#L3023
test_datetime_conversion_warning[2000-01-01 00:00:00-us]
AssertionError: assert dtype('<M8[ns]') == dtype('<M8[us]')
+ where dtype('<M8[ns]') = <xarray.Variable ()> Size: 8B\narray('2000-01-01T00:00:00.000000000', dtype='datetime64[ns]').dtype
+ and dtype('<M8[us]') = <class 'numpy.dtype'>('datetime64[us]')
+ where <class 'numpy.dtype'> = np.dtype
|
Run tests:
xarray/tests/test_variable.py#L3091
test_timedelta_conversion_warning[1 day, 0:00:00-us]
AssertionError: assert dtype('<m8[ns]') == dtype('<m8[us]')
+ where dtype('<m8[ns]') = <xarray.Variable ()> Size: 8B\narray(86400000000000, dtype='timedelta64[ns]').dtype
+ and dtype('<m8[us]') = <class 'numpy.dtype'>('timedelta64[us]')
+ where <class 'numpy.dtype'> = np.dtype
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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