MCPcopy Index your code
hub / github.com/pydata/xarray / test_parse_iso8601_with_reso

Function test_parse_iso8601_with_reso

xarray/tests/test_cftimeindex.py:368–373  ·  view source on GitHub ↗
(date_type, string, date_args, reso)

Source from the content-addressed store, hash-verified

366 ],
367)
368def test_parse_iso8601_with_reso(date_type, string, date_args, reso):
369 expected_date = date_type(*date_args)
370 expected_reso = reso
371 result_date, result_reso = _parse_iso8601(date_type, string)
372 assert result_date == expected_date
373 assert result_reso == expected_reso
374
375
376@requires_cftime

Callers

nothing calls this directly

Calls 2

_parse_iso8601Function · 0.90
date_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…