code: def test_multiline(self):
      x = pd.Series(
          [
              "This is a test file",
              "This is second line\nthird line $1000;\nand subsequent lines",
              "and more!",
          ],
      )
      primitive_func = self.primitive().get_function()
      answers = pd.Series([1, 3, 2])
      pd.testing.assert_series_equal(
          primitive_func(x), answers, check_names=False
      )
  
file_path: featuretools/featuretools/tests/primitive_tests/natural_language_primitives_tests/test_num_unique_separators.py
imports: import numpy
  import pandas
  from featuretools.primitives import NumUniqueSeparators
  from featuretools.tests.primitive_tests.utils import PrimitiveTestBase, find_applicable_primitives, valid_dfs
label_desc: Use image node_id 3 for calling the TestNumUniqueSeparators obj's underlying member method code with example usage: obj.test_multiline() without return types