class_docstr: TFRecordWriter Test
class_docstr_tok: ["TFRecordWriter","Test"]
docstr: test Zlib Compression Type
docstr_tok: ["test","Zlib","Compression","Type"]
code: def testZlibCompressionType(self):
      """test Zlib Compression Type"""
      zlib_t = tf_record.TFRecordCompressionType.ZLIB
  
      self.assertEqual(
          "ZLIB",
          tf_record.TFRecordOptions.get_compression_type_string(
              tf_record.TFRecordOptions("ZLIB")
          ),
      )
  
      self.assertEqual(
          "ZLIB",
          tf_record.TFRecordOptions.get_compression_type_string(
              tf_record.TFRecordOptions(zlib_t)
          ),
      )
  
      self.assertEqual(
          "ZLIB",
          tf_record.TFRecordOptions.get_compression_type_string(
              tf_record.TFRecordOptions(
                  tf_record.TFRecordOptions(zlib_t)
              )
          ),
      )
  
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 6 for calling the TFRecordWriterTest obj's underlying member method code with example usage: obj.testZlibCompressionType() without return types