code: def test_underline_and_print_line_numbers_with_context():
      doc = StmtBlockDoc(
          [ExprStmtDoc(make_id_doc(f"line{i + 1}")) for i in range(12)]
      )
      result = to_python_script(
          doc,
          print_line_numbers=True,
          num_context_lines=2,
          path_to_underline=[make_path("line8")],
      )
      assert result == format_script(
          """
             (... 5 lines skipped ...)
              6 line6
              7 line7
              8 line8
                ^^^^^
              9 line9
             10 line10
             (... 2 lines skipped ...)
      """
      )
  
imports: from typing import Optional
  import pytest
  from tvm.runtime import ObjectPath
  from tvm.script.printer.doc import ExprStmtDoc, IdDoc, OperationDoc, OperationKind, StmtBlockDoc
  from tvm.script.printer.doc_printer import to_python_script
  from tvm.script import ir, tir
label_desc: Use image node_id 11 for calling a global function with example usage: test_underline_and_print_line_numbers_with_context() without return types