(
calendar: str, start: str, end: str, expected_number_of_days: int
)
| 1370 | ], |
| 1371 | ) |
| 1372 | def test_calendar_year_length( |
| 1373 | calendar: str, start: str, end: str, expected_number_of_days: int |
| 1374 | ) -> None: |
| 1375 | result = date_range( |
| 1376 | start, end, freq="D", inclusive="left", calendar=calendar, use_cftime=True |
| 1377 | ) |
| 1378 | assert len(result) == expected_number_of_days |
| 1379 | |
| 1380 | |
| 1381 | @pytest.mark.parametrize("freq", ["YE", "ME", "D"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…