code: def test_excluded_model_types_invalid_option():
      with pytest.raises(
          AssertionError,
          match=r"unknown1 is not one of the valid models .*",
      ):
          ConfigBuilder().excluded_model_types("unknown1").build()
  
      with pytest.raises(
          AssertionError,
          match=r"unknown2 is not one of the valid models .*",
      ):
          ConfigBuilder().excluded_model_types(["unknown2"]).build()
  
imports: import numpy
  import pytest
  from sklearn.feature_extraction.text import CountVectorizer
  from autogluon.features import TextNgramFeatureGenerator
  from autogluon.tabular.configs.config_helper import ConfigBuilder, FeatureGeneratorBuilder
  from autogluon.tabular.models import KNNModel
label_desc: Use image node_id 4 for calling a global function with example usage: test_excluded_model_types_invalid_option() without return types