def METHOD_NAME(dataframe):
    """
    Raise Warning if `args` length
    is odd and `default` is None.
    """
    with pytest.warns(DeprecationWarning):
        dataframe.case_when(
            dataframe.a < 10,
            "less_than_10",
            dataframe.a == 5,
            column_name="a",
        )