code: def test_stack_trace():
      orig = theano.config.traceback.limit
      try:
          theano.config.traceback.limit = 1
          v = theano.tensor.vector()
          assert len(v.tag.trace) == 1
          assert len(v.tag.trace[0]) == 1
          theano.config.traceback.limit = 2
          v = theano.tensor.vector()
          assert len(v.tag.trace) == 1
          assert len(v.tag.trace[0]) == 2
      finally:
          theano.config.traceback.limit = orig
  
imports: from __future__ import absolute_import, print_function, division
  import theano
  from theano.gof.utils import give_variables_names, remove, unique
label_desc: Use image node_id 5 for calling a global function with example usage: test_stack_trace() without return types