code: def test_presets_invalid_option():
      with pytest.raises(
          AssertionError,
          match=r"The following presets are not recognized: .'unknown1'. - use one of the valid presets: .*",
      ):
          ConfigBuilder().presets("unknown1").build()
  
      with pytest.raises(
          AssertionError,
          match=r"The following presets are not recognized: .'unknown2', 'unknown3'. - use one of the valid presets: .*",
      ):
          ConfigBuilder().presets(
              ["best_quality", "unknown2", "unknown3"]
          ).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 2 for calling a global function with example usage: test_presets_invalid_option() without return types