(start, end, freq)
| 1698 | ), |
| 1699 | ) |
| 1700 | def test_cftime_range_same_as_pandas(start, end, freq) -> None: |
| 1701 | result = date_range(start, end, freq=freq, calendar="standard", use_cftime=True) |
| 1702 | result = result.to_datetimeindex(time_unit="ns") |
| 1703 | expected = date_range(start, end, freq=freq, use_cftime=False) |
| 1704 | |
| 1705 | np.testing.assert_array_equal(result, expected) |
| 1706 | |
| 1707 | |
| 1708 | @pytest.mark.filterwarnings("ignore:Converting a CFTimeIndex with:") |
nothing calls this directly
no test coverage detected
searching dependent graphs…