code: def test_raises_exception_ragged_tensor(self):
      with self.assertRaises(ValueError):
          _ = layers.TextVectorization(
              output_mode="int",
              vocabulary=["baz", "bar", "foo"],
              ragged=True,
          )
  
file_path: keras/keras/layers/preprocessing/text_vectorization_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow import data
  from keras import backend
  from keras import layers
  from keras import models
  from keras import testing
label_desc: Use image node_id 9 for calling the TextVectorizationTest obj's underlying member method code with example usage: obj.test_raises_exception_ragged_tensor() without return types