MCPcopy
hub / github.com/pydata/xarray / test_format_cftime_datetime

Function test_format_cftime_datetime

xarray/tests/test_coding_times.py:694–698  ·  view source on GitHub ↗
(date_args, expected)

Source from the content-addressed store, hash-verified

692 ],
693)
694def test_format_cftime_datetime(date_args, expected) -> None:
695 date_types = _all_cftime_date_types()
696 for date_type in date_types.values():
697 result = format_cftime_datetime(date_type(*date_args))
698 assert result == expected
699
700
701@pytest.mark.parametrize("calendar", _ALL_CALENDARS)

Callers

nothing calls this directly

Calls 4

_all_cftime_date_typesFunction · 0.90
format_cftime_datetimeFunction · 0.90
date_typeFunction · 0.85
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…