code: def setUpClass(cls):
      super(SequenceExampleStatsTest, cls).setUpClass()
      cls._input_file = os.path.join(
          FLAGS.test_tmpdir, "sequence_example_stats_test", "input"
      )
      cls._output_dir = os.path.join(
          FLAGS.test_tmpdir, "sequence_example_stats_test", "output"
      )
      tf.io.gfile.makedirs(os.path.dirname(cls._input_file))
      examples = []
      for _ in range(10):
          examples.append(_EXAMPLE_A)
          examples.append(_EXAMPLE_B)
      with tf.io.TFRecordWriter(cls._input_file) as w:
          for e in examples:
              w.write(e)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import os
  from absl import flags
  from absl.testing import absltest
  from absl.testing import parameterized
  import apache_beam
  import tensorflow
  import tensorflow_data_validation
  from tensorflow_data_validation.utils import test_util
  from tfx_bsl.tfxio import tf_sequence_example_record
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import anomalies_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 for calling the SequenceExampleStatsTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types