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

Function test_invalid_to_offset_str

xarray/tests/test_cftime_offsets.py:330–332  ·  view source on GitHub ↗
(freq)

Source from the content-addressed store, hash-verified

328
329@pytest.mark.parametrize("freq", ["Z", "7min2", "AM", "M-", "AS-", "QS-", "1H1min"])
330def test_invalid_to_offset_str(freq):
331 with pytest.raises(ValueError):
332 to_offset(freq)
333
334
335@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

to_offsetFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…