def METHOD_NAME():
    """Test the setitem for FrequencyData with wrong number of bins."""
    freq_a = FrequencyData([1, 0, -1], [0, .1, .3])
    freq_b = FrequencyData([2, 0, -2, 0], [0, .1, .3, .7])
    with pytest.raises(ValueError):
        freq_a[0] = freq_b