code: def test_regression_gh23108(self):
      # np.float32(1.0) and np.float64(1.0) have the same hash and are
      # equal under the == operator
      f1 = np.finfo(np.float32(1.0))
      f2 = np.finfo(np.float64(1.0))
      assert f1 != f2
  
imports: import warnings
  import numpy
  import pytest
  from numpy._core import finfo, iinfo
  from numpy import half, single, double, longdouble
  from numpy.testing import assert_equal, assert_, assert_raises
  from numpy._core.getlimits import _discovered_machar, _float_ma
label_desc: Use image node_id 2 for calling the TestFinfo obj's underlying member method code with example usage: obj.test_regression_gh23108() without return types