code: def test_tir_schedule_attribute_error():
      sch = tir.Schedule(matmul)
      with pytest.raises(AttributeError):
          sch.non_existent_field()
  
file_path: tvm/tests/python/tir-schedule/test_tir_schedule_error.py
imports: import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.script import tir
label_desc: Use image node_id 6 for calling a global function with example usage: test_tir_schedule_attribute_error() without return types