code: def test_eq_ops():
      a = tir.IntImm("int8", 1)
      with pytest.raises(ValueError):
          assert a != None
      with pytest.raises(ValueError):
          assert not a == None
      b = tir.StringImm("abc")
      assert b != None
      assert not b == None
  
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 9 for calling a global function with example usage: test_eq_ops() without return types