code: def testStat(self):
      temp_dir = self.get_temp_dir()
      self._CreateDeepDirectoryStructure(temp_dir)
      ckpt_path = os.path.join(temp_dir, "model.ckpt")
      ckpt_content = "asdfasdfasdffoobarbuzz"
      with open(ckpt_path, "w") as f:
          f.write(ckpt_content)
      ckpt_stat = gfile.stat(ckpt_path)
      self.assertEqual(ckpt_stat.length, len(ckpt_content))
      bad_ckpt_path = os.path.join(temp_dir, "bad_model.ckpt")
      with self.assertRaises(errors.NotFoundError):
          gfile.stat(bad_ckpt_path)
  
imports: import io
  import os
  from tensorboard import test
  from tensorboard.compat.tensorflow_stub import errors
  from tensorboard.compat.tensorflow_stub.io import gfile
label_desc: Use image node_id 8 for calling the GFileTest obj's underlying member method code with example usage: obj.testStat() without return types