code: def setUp(self):
      super().setUp()
      self.stderr = io.StringIO()
      patchers = [
          mock.patch.object(
              program.TensorBoard, "_install_signal_handler"
          ),
          mock.patch.object(
              program.TensorBoard, "_run_serve_subcommand"
          ),
          mock.patch.object(_TestSubcommand, "run"),
          mock.patch.object(sys, "stderr", self.stderr),
      ]
      for p in patchers:
          p.start()
          self.addCleanup(p.stop)
      _TestSubcommand.run.return_value = None
  
imports: import argparse
  import io
  import sys
  from unittest import mock
  from tensorboard import program
  from tensorboard import test
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.core import core_plugin
label_desc: Use image node_id 1 for calling the SubcommandTest obj's underlying member method code with example usage: obj.setUp() without return types