class_docstr: TFRecordIterator test
class_docstr_tok: ["TFRecordIterator","test"]
docstr: Verify compression for large records is zlib library compatible.
docstr_tok: ["Verify","compression","for","large","records","is","zlib","library","compatible","."]
code: def testWriteZlibReadLarge(self):
      """Verify compression for large records is zlib library compatible."""
      # Make it large (about 5MB)
      original = [_TEXT * 10240]
      options = tf_record.TFRecordOptions(TFRecordCompressionType.ZLIB)
      fn = self._WriteRecordsToFile(
          original, "write_zlib_read_large.tfrecord.z", options
      )
      zfn = self._ZlibDecompressFile(
          fn, "write_zlib_read_large.tfrecord"
      )
      actual = list(tf_record.tf_record_iterator(zfn))
      self.assertEqual(actual, original)
  
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 4 for calling the TFRecordIteratorTest obj's underlying member method code with example usage: obj.testWriteZlibReadLarge() without return types