code: def test_text_dataset_from_directory_not_batched(self):
      directory = self._prepare_directory()
      dataset = text_dataset_utils.text_dataset_from_directory(
          directory, batch_size=None, label_mode=None, follow_links=True
      )
  
      sample = next(iter(dataset))
      self.assertEqual(len(sample.shape), 0)
  
file_path: keras/keras/utils/text_dataset_utils_test.py
imports: import os
  import random
  import string
  from keras import testing
  from keras.utils import text_dataset_utils
label_desc: Use image node_id 11 for calling the TextDatasetFromDirectoryTest obj's underlying member method code with example usage: obj.test_text_dataset_from_directory_not_batched() without return types