Add "unit"-parameter to date_range, enhance iso time parser to us #15761
Annotations
10 errors and 2 warnings
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[year]
AssertionError: assert {'day': None,...e': None, ...} == {'day': None,...h': None, ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': None,
'hour': None,
+ 'microsecond': None,
'minute': None,
'month': None,
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[month]
AssertionError: assert {'day': None,...e': None, ...} == {'day': None,...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': None,
'hour': None,
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[month-dash]
AssertionError: assert {'day': None,...e': None, ...} == {'day': None,...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': None,
'hour': None,
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[day]
AssertionError: assert {'day': '01',...e': None, ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': None,
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[day-dash]
AssertionError: assert {'day': '01',...e': None, ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': None,
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[hour]
AssertionError: assert {'day': '01',...e': None, ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': '12',
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[hour-dash]
AssertionError: assert {'day': '01',...e': None, ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': '12',
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[hour-space-separator]
AssertionError: assert {'day': '01',...e': None, ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': '12',
+ 'microsecond': None,
'minute': None,
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[minute]
AssertionError: assert {'day': '01',...e': '34', ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': '12',
+ 'microsecond': None,
'minute': '34',
'month': '01',
'second': None,
'year': '1999',
}
|
Run tests:
xarray/tests/test_cftimeindex.py#L99
test_parse_iso8601_like[minute-dash]
AssertionError: assert {'day': '01',...e': '34', ...} == {'day': '01',...h': '01', ...}
Omitting 6 identical items, use -vv to show
Left contains 1 more item:
{'microsecond': None}
Full diff:
{
'day': '01',
'hour': '12',
+ 'microsecond': None,
'minute': '34',
'month': '01',
'second': None,
'year': '1999',
}
|
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