code: def test_equal_nans():
      s = GeoSeries([Point(0, 0), np.nan])
      assert_geoseries_equal(s, s.copy())
      assert_geoseries_equal(s, s.copy(), check_less_precise=True)
  
file_path: geopandas/geopandas/tests/test_testing.py
imports: import warnings
  import numpy
  from shapely.geometry import Point, Polygon
  import pandas
  from pandas import DataFrame, Series
  from geopandas import GeoDataFrame, GeoSeries
  from geopandas.array import from_shapely
  from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_equal_nans() without return types