code: def test_long_string(
      text="""'''This is a multiline
  comment with "quotes", 'single quotes'
  # and comments
  and line breaks
  
  
  and it ends here'''
  
  
  1 + 1
  """,
  ):
      quoted = []
      sp = StringParser("python")
      for i, line in enumerate(text.splitlines()):
          if sp.is_quoted():
              quoted.append(i)
          sp.read_line(line)
  
      assert quoted == [1, 2, 3, 4, 5, 6]
  
imports: from jupytext.stringparser import StringParser
label_desc: Use image node_id 1 for calling a global function with example usage: test_long_string(text) without return types