code: def test_underline_and_print_line_numbers():
      doc = StmtBlockDoc(
          [ExprStmtDoc(make_id_doc(f"line{i + 1}")) for i in range(12)]
      )
      result = to_python_script(
          doc,
          print_line_numbers=True,
          path_to_underline=[make_path("line6")],
      )
      assert (
          result.strip()
          == format_script(
              """
              1 line1
              2 line2
              3 line3
              4 line4
              5 line5
              6 line6
                ^^^^^
              7 line7
              8 line8
              9 line9
             10 line10
             11 line11
             12 line12
      """
          ).strip()
      )
  
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 9 for calling a global function with example usage: test_underline_and_print_line_numbers() without return types