code: def test_stack_trace():
      with pytensor.config.change_flags(traceback__limit=1):
          v = vector()
          assert len(v.tag.trace) == 1
          assert len(v.tag.trace[0]) == 1
  
      with pytensor.config.change_flags(traceback__limit=2):
          v = vector()
          assert len(v.tag.trace) == 1
          assert len(v.tag.trace[0]) == 2
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_stack_trace() without return types