code: def test_config_illegal_options(option_and_value):
      option, value = option_and_value
      with pytest.raises(cattrs.errors.ClassValidationError):
          LinearQuantizerConfig.from_dict(
              {"global_config": {option: value}}
          )
  
file_path: coremltools/coremltools/test/optimize/torch/quantization/test_quantizer.py
imports: from collections import OrderedDict
  import cattrs
  import pytest
  import torch
  import torch.ao.quantization
  import torch.nn
  import torch.nn.intrinsic
  import torch.nn.intrinsic.qat
  import torch.nn.quantized
  import torch.nn.quantized.modules.utils
  from coremltools.optimize.torch.quantization import LinearQuantizer, LinearQuantizerConfig, ModuleLinearQuantizerConfig
label_desc: Use image node_id 1 for calling a global function with example usage: test_config_illegal_options(option_and_value) without return types