code: def eq(argument1, argument2):
      if isinstance(argument1, numpy.ndarray) or isinstance(
          argument2, numpy.ndarray
      ):
          if not (argument1 == argument2).all():
              raise AssertionError(
                  "Expected: '"
                  + str(argument1)
                  + "', Actual: '"
                  + str(argument2)
                  + "'"
              )
  
      elif not (argument1 == argument2):
          raise AssertionError(
              "Expected: '"
              + str(argument1)
              + "', Actual: '"
              + str(argument2)
              + "'"
          )
  
file_path: pyclustering/pyclustering/tests/assertion.py
imports: import numpy
label_desc: Use image node_id 1 for calling the assertion obj's underlying member method code with example usage: obj.eq(argument1, argument2) without return types