code: def test_check_params(art_warning):
      try:
          with pytest.raises(ValueError):
              AttributeInferenceBaselineTrueLabel(attack_feature="a")
  
          with pytest.raises(ValueError):
              AttributeInferenceBaselineTrueLabel(attack_feature=-3)
  
          with pytest.raises(ValueError):
              AttributeInferenceBaselineTrueLabel(
                  non_numerical_features=["a"]
              )
  
          with pytest.raises(ValueError):
              AttributeInferenceBaselineTrueLabel(encoder="a")
  
          with pytest.raises(ValueError):
              AttributeInferenceBaselineTrueLabel(is_continuous="a")
  
      except ARTTestException as e:
          art_warning(e)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  from sklearn.compose import ColumnTransformer
  from sklearn.preprocessing import OrdinalEncoder
  from art.attacks.inference.attribute_inference.true_label_baseline import AttributeInferenceBaselineTrueLabel
  from art.utils import check_and_transform_label_format
  from tests.utils import ARTTestException
label_desc: Use image node_id 12 for calling a global function with example usage: test_check_params(art_warning) without return types