class_docstr: TFRecordWriter Test
class_docstr_tok: ["TFRecordWriter","Test"]
code: def _AssertFilesEqual(self, a, b, equal):
      for an, bn in zip(a, b):
          with open(an, "rb") as af, open(bn, "rb") as bf:
              if equal:
                  self.assertEqual(af.read(), bf.read())
              else:
                  self.assertNotEqual(af.read(), bf.read())
  
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 1 for calling the TFRecordWriterTest obj's underlying member method code with example usage: obj._AssertFilesEqual(a, b, equal) without return types