docstr: KeyError should be raised when accessing non-existing keys.
code: def testKeyError(self):
      """KeyError should be raised when accessing non-existing keys."""
      gen = _EventGenerator(self)
      acc = ea.EventAccumulator(gen)
      acc.Reload()
      with self.assertRaises(KeyError):
          acc.Scalars("s1")
      with self.assertRaises(KeyError):
          acc.Scalars("hst1")
      with self.assertRaises(KeyError):
          acc.Scalars("im1")
      with self.assertRaises(KeyError):
          acc.Histograms("s1")
      with self.assertRaises(KeyError):
          acc.Histograms("im1")
      with self.assertRaises(KeyError):
          acc.Images("s1")
      with self.assertRaises(KeyError):
          acc.Images("hst1")
      with self.assertRaises(KeyError):
          acc.Audio("s1")
      with self.assertRaises(KeyError):
          acc.Audio("hst1")
  
imports: import os
  import numpy
  import tensorflow
  from tensorboard.backend.event_processing import event_accumulator
  from tensorboard.compat.proto import config_pb2
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import graph_pb2
  from tensorboard.compat.proto import meta_graph_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.distribution import compressor
  from tensorboard.util import tensor_util
  from tensorboard.util import test_util
  from tensorboard.util import tb_logging
label_desc: Use image node_id 11 for calling the MockingEventAccumulatorTest obj's underlying member method code with example usage: obj.testKeyError() without return types