class_docstr: Class for representation test cases. Most tests are
  parameterized, some are implemented individually
  (e.g. to test a formula manually).
code: def test_vectorization_noncontinuous_index_kept(
      self, name, test_function, correct_output
  ):
      result_s = test_function(s_tokenized_with_noncontinuous_index)
      pd.testing.assert_index_equal(
          tokenized_output_noncontinous_index, result_s.index
      )
  
imports: import pandas
  import numpy
  from texthero import representation
  from texthero import preprocessing
  import pytest
  from .conftest import broken_case
  import doctest
  import unittest
  import string
  import math
  import warnings
  from parameterized import parameterized
label_desc: Use image node_id 2 for calling the TestAbstractRepresentation obj's underlying member method code with example usage: obj.test_vectorization_noncontinuous_index_kept(name, test_function, correct_output) without return types