class_docstr: TFCompression Test
class_docstr_tok: ["TFCompression","Test"]
code: def _GzipDecompressFile(self, infile, name="tfrecord"):
      with gzip.GzipFile(infile, "rb") as f:
          cdata = f.read()
      fn = os.path.join(self.get_temp_dir(), name)
      with open(fn, "wb") as f:
          f.write(cdata)
      return fn
  
imports: import gzip
  import os
  import random
  import string
  import zlib
  import six
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.lib.io import tf_record
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 8 for calling the TFCompressionTestCase obj's underlying member method code with example usage: obj._GzipDecompressFile(infile, name) and returns: fn