code: def test_endmarker_end_pos():
      def check(code):
          tokens = _get_token_list(code)
          lines = split_lines(code)
          assert tokens[-1].end_pos == (len(lines), len(lines[-1]))
  
      check("#c")
      check("#c\n")
      check("a\n")
      check("a")
      check(r"a\\n")
      check("a\\")
  
imports: import sys
  from textwrap import dedent
  import pytest
  from parso.utils import split_lines, parse_version_string
  from parso.python.token import PythonTokenTypes
  from parso.python import tokenize
  from parso import parse
  from parso.python.tokenize import PythonToken
label_desc: Use image node_id 14 for calling a global function with example usage: test_endmarker_end_pos() without return types