code: def test(self):
      server_bin = os.path.join(self.get_temp_dir(), "server")
      with open(server_bin, "wb"):
          pass
      os.chmod(server_bin, 0o755)
      outdir = os.path.join(self.get_temp_dir(), "out")
      os.mkdir(outdir)
  
      build_script = os.path.join(os.path.dirname(__file__), "build")
      try:
          result = subprocess.run(
              [
                  build_script,
                  "--server-binary=%s" % (server_bin,),
                  "--out-dir=%s" % (outdir,),
              ],
              check=True,
              capture_output=True,
          )
      except subprocess.CalledProcessError as e:
          sys.stdout.buffer.write(e.stdout)
          sys.stdout.flush()
          sys.stderr.buffer.write(e.stderr)
          sys.stderr.flush()
          raise
  
      lines = result.stdout.decode("utf-8").splitlines()
      self.assertLen(lines, 1)
      wheel = lines[0]
      self.assertEqual(os.path.dirname(wheel), outdir)
      self.assertTrue(os.path.isfile(wheel))
      os.unlink(wheel)
      os.rmdir(outdir)
  
imports: import os
  import subprocess
  import sys
  from tensorboard import test
label_desc: Use image node_id 1 for calling the BuildPipPackageTest obj's underlying member method code with example usage: obj.test() without return types