code: def testDeletingDirectoryRemovesRun(self):
      x = event_multiplexer.EventMultiplexer()
      tmpdir = self.get_temp_dir()
      join = os.path.join
      run1_dir = join(tmpdir, "run1")
      run2_dir = join(tmpdir, "run2")
      run3_dir = join(tmpdir, "run3")
  
      for dirname in [run1_dir, run2_dir, run3_dir]:
          _AddEvents(dirname)
  
      x.AddRun(run1_dir, "run1")
      x.AddRun(run2_dir, "run2")
      x.AddRun(run3_dir, "run3")
  
      x.Reload()
  
      # Delete the directory, then reload.
      shutil.rmtree(run2_dir)
      x.Reload()
      self.assertNotIn("run2", x.Runs().keys())
  
imports: import os
  import os.path
  import shutil
  import tensorflow
  from tensorboard.backend.event_processing import event_accumulator
  from tensorboard.backend.event_processing import event_multiplexer
label_desc: Use image node_id 1 for calling the EventMultiplexerWithRealAccumulatorTest obj's underlying member method code with example usage: obj.testDeletingDirectoryRemovesRun() without return types