code: def test_long_string_ends_with_four_quotes(
      text="""'''This is a multiline
  comment that ends with four quotes
  ''''
  
  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]
  
imports: from jupytext.stringparser import StringParser
label_desc: Use image node_id 4 for calling a global function with example usage: test_long_string_ends_with_four_quotes(text) without return types