(calendar, date_args, expected)
| 574 | ) |
| 575 | @pytest.mark.parametrize(("date_args", "expected"), _CFTIME_DATETIME_UNITS_TESTS) |
| 576 | def test_infer_cftime_datetime_units(calendar, date_args, expected) -> None: |
| 577 | date_type = _all_cftime_date_types()[calendar] |
| 578 | dates = list(starmap(date_type, date_args)) |
| 579 | assert expected == infer_datetime_units(dates) |
| 580 | |
| 581 | |
| 582 | @pytest.mark.filterwarnings("ignore:Timedeltas can't be serialized faithfully") |
nothing calls this directly
no test coverage detected
searching dependent graphs…