class_docstr: TFCompression Test
class_docstr_tok: ["TFCompression","Test"]
code: def _ZlibDecompressFile(self, infile, name="tfrecord"):
      with open(infile, "rb") as f:
          cdata = zlib.decompress(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 7 for calling the TFCompressionTestCase obj's underlying member method code with example usage: obj._ZlibDecompressFile(infile, name) and returns: fn