def METHOD_NAME(dataframe):
    """Test inflation calculation fails with unavailable currency_year."""
    with pytest.raises(ValueError):
        assert dataframe.inflate_currency(
            "a", country="GHA", currency_year=1962, to_year=2010
        )