code: def assert_equal_hash(classA, classB):
      assert hash(classA) == hash(classA.id_obj)
      assert hash(classB) == hash(classB.id_obj)
      assert classA == classB
      assert hash(classA) == hash(classB)
  
file_path: pymc/tests/logprob/test_abstract.py
imports: import re
  import numpy
  import pytensor.tensor
  import pytest
  import scipy.stats.distributions
  from pytensor.scalar import Exp, exp
  import pymc
  from pymc.logprob.abstract import MeasurableElemwise, MeasurableVariable, _logcdf_helper
  from pymc.logprob.basic import logcdf
label_desc: Use image node_id 1 for calling a global function with example usage: assert_equal_hash(classA, classB) without return types