code: def test_trace_construct_pop_1():
      trace = _make_trace_1(BlockRV(), LoopRV(), LoopRV())
      last_inst = trace.insts[-1]
      assert trace.pop().same_as(last_inst)
      assert str(trace) == "\n".join(
          (
              "# from tvm import tir",
              "def apply_trace(sch: tir.Schedule) -> None:",
              '  b0 = sch.get_block(name="block", func_name="main")',
          )
      )
  
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 16 for calling a global function with example usage: test_trace_construct_pop_1() without return types