code: def testDecompress(self):
      for compression_type in ["ZLIB", "GZIP", ""]:
          with self.cached_session():
  
              def decode(in_bytes, compression_type=compression_type):
                  return parsing_ops.decode_compressed(
                      in_bytes, compression_type=compression_type
                  )
  
              in_val = [
                  self._compress(b"AaAA", compression_type),
                  self._compress(b"bBbb", compression_type),
              ]
              result = self.evaluate(decode(in_val))
              self.assertAllEqual([b"AaAA", b"bBbb"], result)
  
file_path: tensorflow/tensorflow/python/kernel_tests/image_ops/decode_compressed_op_test.py
imports: import gzip
  import io
  import zlib
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the DecodeCompressedOpTest obj's underlying member method code with example usage: obj.testDecompress() and returns: parsing_ops