def METHOD_NAME(art_warning, decision_tree_estimator):
    try:
        classifier = decision_tree_estimator()
        with pytest.raises(ValueError):
            _ = AttributeInferenceWhiteBoxLifestyleDecisionTree(classifier, attack_feature=-5)
    except ARTTestException as e:
        art_warning(e)