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

Function test_date_range_name

xarray/tests/test_cftime_offsets.py:1277–1282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1275
1276
1277def test_date_range_name():
1278 result = date_range(start="2000", periods=4, name="foo")
1279 assert result.name == "foo"
1280
1281 result = date_range(start="2000", periods=4)
1282 assert result.name is None
1283
1284
1285@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

date_rangeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…