()
| 884 | |
| 885 | |
| 886 | def test_encode_expected_failures() -> None: |
| 887 | dates = pd.date_range("2000", periods=3) |
| 888 | with pytest.raises(ValueError, match="invalid time units"): |
| 889 | encode_cf_datetime(dates, units="days after 2000-01-01") |
| 890 | with pytest.raises(ValueError, match="invalid reference date"): |
| 891 | encode_cf_datetime(dates, units="days since NO_YEAR") |
| 892 | |
| 893 | |
| 894 | def test_encode_cf_datetime_pandas_min() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…