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