code: def test_transform_without_character(self):
      # No character feature.
      it = IndexTransformer(use_char=False)
      x, y = it.fit_transform(self.x, self.y)
  
      # Check sequence length.
      self.assertEqual(len(x), len(self.x))
      self.assertEqual(len(y), len(self.y))
  
      # Check sequence type.
      self.assertIsInstance(x, np.ndarray)
      self.assertIsInstance(y, np.ndarray)
  
imports: import os
  import shutil
  import unittest
  import numpy
  from anago.preprocessing import IndexTransformer, pad_nested_sequences
label_desc: Use image node_id 7 for calling the TestIndexTransformer obj's underlying member method code with example usage: obj.test_transform_without_character() without return types