code: def test_equals(s, df):
      # https://github.com/geopandas/geopandas/issues/1420
      s2 = s.copy()
      assert s.equals(s2) is True
      s2.iloc[0] = None
      assert s.equals(s2) is False
  
      df2 = df.copy()
      assert df.equals(df2) is True
      df2.loc[0, "geometry"] = Point(10, 10)
      assert df.equals(df2) is False
      df2 = df.copy()
      df2.loc[0, "value1"] = 10
      assert df.equals(df2) is False
  
imports: import os
  from packaging.version import Version
  import warnings
  import numpy
  from numpy.testing import assert_array_equal
  import pandas
  import shapely
  from shapely.geometry import Point, GeometryCollection, LineString, LinearRing
  import geopandas
  from geopandas import GeoDataFrame, GeoSeries
  import geopandas._compat
  from geopandas.array import from_shapely
  from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal
  from pandas.testing import assert_frame_equal, assert_series_equal
  import pytest
label_desc: Use image node_id 21 for calling a global function with example usage: test_equals(s, df) without return types