code: def test_equals_numeric(self):
      index_cls = Index
  
      idx = index_cls([1.0, 2.0])
      assert idx.equals(idx)
      assert idx.identical(idx)
  
      idx2 = index_cls([1.0, 2.0])
      assert idx.equals(idx2)
  
      idx = index_cls([1.0, np.nan])
      assert idx.equals(idx)
      assert idx.identical(idx)
  
      idx2 = index_cls([1.0, np.nan])
      assert idx.equals(idx2)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import Index, Series
  import pandas._testing
label_desc: Use image node_id 12 for calling the TestFloatNumericIndex obj's underlying member method code with example usage: obj.test_equals_numeric() without return types