code: def test_config_map():
      """
      Confirm that constructing a target with invalid
      attributes fails as expected.
      """
      target_config = {"kind": "llvm", "libs": {"a": "b", "c": "d"}}
      with pytest.raises(ValueError):
          tvm.target.Target(target_config)
  
imports: import json
  import pytest
  import tvm
  import tvm.testing
  from tvm.target import Target, arm_cpu, bifrost, cuda, intel_graphics, mali, rocm, vta
label_desc: Use image node_id 16 for calling a global function with example usage: test_config_map() without return types