code: def test_validate_config_against_spec_raises(
      self, config: types.JsonDict
  ):
      with self.assertRaises(KeyError):
          utils.validate_config_against_spec(
              config,
              _VALIDATION_SPEC,
              "unittest",
              raise_for_unsupported=True,
          )
  
imports: from collections.abc import Callable, Sequence
  import copy
  from typing import Any, Optional, TypeVar, Union
  from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import types
  from lit_nlp.lib import utils
  import numpy
label_desc: Use image node_id 13 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_validate_config_against_spec_raises(config) without return types