code: def testFixedSeedResultsInRepeatableOrder(self):
      filenames = ["a", "b", "c"]
      self._touchTempFiles(filenames)
  
      def dataset_fn():
          return dataset_ops.Dataset.list_files(
              path.join(self.tmp_dir, "*"), shuffle=True, seed=37
          )
  
      expected_filenames = [
          compat.as_bytes(path.join(self.tmp_dir, filename))
          for filename in filenames
      ]
  
      all_actual_filenames = []
      for _ in range(3):
          actual_filenames = []
          next_element = self.getNext(
              dataset_fn(), requires_initialization=True
          )
          try:
              while True:
                  actual_filenames.append(self.evaluate(next_element()))
          except errors.OutOfRangeError:
              pass
          all_actual_filenames.append(actual_filenames)
  
      # Each run should produce the same set of filenames, which may be
      # different from the order of `expected_filenames`.
      self.assertCountEqual(expected_filenames, all_actual_filenames[0])
      # However, the different runs should produce filenames in the same order
      # as each other.
      self.assertEqual(all_actual_filenames[0], all_actual_filenames[1])
      self.assertEqual(all_actual_filenames[0], all_actual_filenames[2])
  
imports: from os import path
  import shutil
  import tempfile
  from absl.testing import parameterized
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 7 for calling the ListFilesTest obj's underlying member method code with example usage: obj.testFixedSeedResultsInRepeatableOrder() and returns: dataset_ops