geopandas.testing.
assert_geoseries_equal
Test util for checking that two GeoSeries are equal.
If True, check geo dtype [only included so it’s a drop-in replacement for assert_series_equal].
Check that index types are equal.
Check that both are same type (and are GeoSeries). If False, will attempt to convert both into GeoSeries.
If True, use geom_almost_equals. if False, use geom_equals.
If True, check that all the geom types are equal.
If check_series_type is True, then also check that the crs matches.