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

Function test_onOffset

xarray/tests/test_cftime_offsets.py:936–940  ·  view source on GitHub ↗
(calendar, date_args, offset, expected)

Source from the content-addressed store, hash-verified

934 ids=_id_func,
935)
936def test_onOffset(calendar, date_args, offset, expected):
937 date_type = get_date_type(calendar)
938 date = date_type(*date_args)
939 result = offset.onOffset(date)
940 assert result == expected
941
942
943@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

get_date_typeFunction · 0.90
date_typeFunction · 0.85
onOffsetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…