code: def test_equals(self):
      # https://github.com/pandas-dev/pandas/pull/34402
      # allow subclass in both directions
      s1 = pd.Series([1, 2, 3])
      s2 = tm.SubclassedSeries([1, 2, 3])
      assert s1.equals(s2)
      assert s2.equals(s1)
  
file_path: pandas/pandas/tests/series/test_subclass.py
imports: import numpy
  import pytest
  import pandas
  import pandas._testing
label_desc: Use image node_id 7 for calling the TestSeriesSubclassing obj's underlying member method code with example usage: obj.test_equals() without return types