code: def test_raise_if_featurizer_configs_are_not_compatible(
      featurizer_configs: List[Dict[Text, Any]], passes: bool
  ):
      if passes:
          Featurizer.raise_if_featurizer_configs_are_not_compatible(
              featurizer_configs
          )
      else:
          with pytest.raises(InvalidConfigException):
              Featurizer.raise_if_featurizer_configs_are_not_compatible(
                  featurizer_configs
              )
  
file_path: rasa/tests/nlu/featurizers/test_featurizer.py
imports: from rasa.shared.exceptions import InvalidConfigException
  from rasa.nlu.featurizers.featurizer import Featurizer
  from rasa.nlu.constants import FEATURIZER_CLASS_ALIAS
  from typing import List, Dict, Any, Text
  import numpy
  import pytest
  from rasa.nlu.featurizers.dense_featurizer.dense_featurizer import DenseFeaturizer
label_desc: Use image node_id 2 for calling a global function with example usage: test_raise_if_featurizer_configs_are_not_compatible(featurizer_configs, passes) without return types