(freq, units)
| 532 | |
| 533 | @pytest.mark.parametrize(("freq", "units"), FREQUENCIES_TO_ENCODING_UNITS.items()) |
| 534 | def test_infer_datetime_units(freq, units) -> None: |
| 535 | dates = pd.date_range("2000", periods=2, freq=freq) |
| 536 | expected = f"{units} since 2000-01-01 00:00:00" |
| 537 | assert expected == infer_datetime_units(dates) |
| 538 | |
| 539 | |
| 540 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…