(freq: str)
| 1380 | |
| 1381 | @pytest.mark.parametrize("freq", ["YE", "ME", "D"]) |
| 1382 | def test_dayofweek_after_cftime(freq: str) -> None: |
| 1383 | result = date_range("2000-02-01", periods=3, freq=freq, use_cftime=True).dayofweek |
| 1384 | # TODO: remove once requiring pandas 2.2+ |
| 1385 | freq = _new_to_legacy_freq(freq) |
| 1386 | expected = pd.date_range("2000-02-01", periods=3, freq=freq).dayofweek |
| 1387 | np.testing.assert_array_equal(result, expected) |
| 1388 | |
| 1389 | |
| 1390 | @pytest.mark.parametrize("freq", ["YE", "ME", "D"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…