code: def test_check_params(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)
  
file_path: adversarial-robustness-toolbox/tests/attacks/inference/attribute_inference/test_white_box_lifestyle_decision_tree.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  from art.attacks.inference.attribute_inference.white_box_lifestyle_decision_tree import AttributeInferenceWhiteBoxLifestyleDecisionTree
  from art.estimators.classification.scikitlearn import ScikitlearnDecisionTreeClassifier
  from art.estimators.regression.scikitlearn import ScikitlearnDecisionTreeRegressor
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 3 for calling a global function with example usage: test_check_params(art_warning, decision_tree_estimator) without return types