code: def test_exception():
      with pytest.raises(tvm.TVMError):
          x = tir.Var(name=1, dtype="int")
  
file_path: tvm/tests/python/tir-base/test_tir_base.py
imports: import tvm
  import pytest
  from tvm import tir
  from tvm._ffi.base import TVMError
  from tvm.ir.transform import PassContext
  import itertools
  import pytest
label_desc: Use image node_id 8 for calling a global function with example usage: test_exception() without return types