code: def test_split_lines():
      lines = list(split_lines([(Token.A, "line1\nline2\nline3")]))
  
      assert lines == [
          [(Token.A, "line1")],
          [(Token.A, "line2")],
          [(Token.A, "line3")],
      ]
  
imports: from __future__ import unicode_literals
  from prompt_toolkit.layout.utils import split_lines
  from prompt_toolkit.token import Token
label_desc: Use image node_id 1 for calling a global function with example usage: test_split_lines() without return types