code: def test_compatibility_error_generic(self):
      @authoring.compatible
      @tf.function
      def f():
          dataset = tf.data.Dataset.range(3)
          dataset = dataset.shuffle(3, reshuffle_each_iteration=True)
          return dataset
  
      f()
      log_messages = f.get_compatibility_log()
      self.assertIn(
          "COMPATIBILITY ERROR: op 'tf.DummySeedGenerator, tf.RangeDataset,"
          " tf.ShuffleDatasetV3' is(are) not natively supported by TensorFlow"
          " Lite. You need to provide a custom operator."
          " https://www.tensorflow.org/lite/guide/ops_custom",
          log_messages,
      )
  
file_path: tensorflow/tensorflow/lite/python/authoring/authoring_test.py
imports: import tensorflow
  from tensorflow.lite.python.authoring import authoring
label_desc: Use image node_id 4 for calling the TFLiteAuthoringTest obj's underlying member method code with example usage: obj.test_compatibility_error_generic() and returns: dataset