code: def testFileNamesMustBeScalars(self):
      with self.assertRaisesRegex(
          TypeError,
          "The `filenames` argument must contain `tf.string` elements of shape "
          r"\[\] \(i.e. scalars\).",
      ):
          filenames = dataset_ops.Dataset.from_tensors(
              [["File 1", "File 2"], ["File 3", "File 4"]]
          )
          readers.TextLineDataset(filenames)
  
imports: import gzip
  import os
  import pathlib
  import zlib
  from absl.testing import parameterized
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.data.ops import readers
  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 11 for calling the TextLineDatasetTest obj's underlying member method code with example usage: obj.testFileNamesMustBeScalars() without return types