(data)
| 505 | |
| 506 | @requires_cftime |
| 507 | def test_date_cftime(data) -> None: |
| 508 | with pytest.raises( |
| 509 | AttributeError, |
| 510 | match=r"'CFTimeIndex' object has no attribute `date`. Consider using the floor method instead, for instance: `.time.dt.floor\('D'\)`.", |
| 511 | ): |
| 512 | data.time.dt.date() |
| 513 | |
| 514 | |
| 515 | @requires_cftime |
nothing calls this directly
no test coverage detected
searching dependent graphs…