code: def test_trace_construct_pop_2():
      trace = Trace([], {})
      assert str(trace) == "\n".join(
          (
              "# from tvm import tir",
              "def apply_trace(sch: tir.Schedule) -> None:",
              "  pass",
          )
      )
      assert trace.pop() is None
      assert str(trace) == "\n".join(
          (
              "# from tvm import tir",
              "def apply_trace(sch: tir.Schedule) -> None:",
              "  pass",
          )
      )
  
imports: import sys
  import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.script import tir
  from tvm.tir.schedule import BlockRV, Instruction, InstructionKind, LoopRV, Trace
  from tvm.tir.schedule.testing import assert_structural_equal_ignore_global_symbol
label_desc: Use image node_id 17 for calling a global function with example usage: test_trace_construct_pop_2() without return types