def test_nonTick_offset_multiplied_float_error(offset):
    """Test that the appropriate error is raised if a non-Tick offset is
    multiplied by a float."""
    with pytest.raises(TypeError, match="unsupported operand type"):
        offset * 0.5
Test that the appropriate error is raised if a non-Tick offset is
    multiplied by a float.
xarray/tests/test_cftime_offsets.py