code: def test_concat_axis1_multiple_geodataframes(self):
      # https://github.com/geopandas/geopandas/issues/1230
      # Expect that concat should fail gracefully if duplicate column names belonging
      # to geometry columns are introduced.
      if PANDAS_GE_21:
          # _constructor_from_mgr changes mean we now get the concat specific error
          # message in this case too
          expected_err = (
              "Concat operation has resulted in multiple columns using the geometry "
              "column name 'geometry'."
          )
      else:
          expected_err = (
              "GeoDataFrame does not support multiple columns using the geometry"
              " column name 'geometry'"
          )
      with pytest.raises(ValueError, match=expected_err):
          pd.concat([self.gdf, self.gdf], axis=1)
  
      # Check case is handled if custom geometry column name is used
      df2 = self.gdf.rename_geometry("geom")
      expected_err2 = (
          "Concat operation has resulted in multiple columns using the geometry "
          "column name 'geom'."
      )
      with pytest.raises(ValueError, match=expected_err2):
          pd.concat([df2, df2], axis=1)
  
      # Check that two geometry columns is fine, if they have different names
      res3 = pd.concat([df2.set_crs("epsg:4326"), self.gdf], axis=1)
      # check metadata comes from first df
      self._check_metadata(
          res3, geometry_column_name="geom", crs="epsg:4326"
      )
  
file_path: geopandas/geopandas/tests/test_merge.py
imports: import warnings
  import pandas
  import pyproj
  import pytest
  from geopandas._compat import PANDAS_GE_21
  from geopandas.testing import assert_geodataframe_equal
  from pandas.testing import assert_index_equal
  from shapely.geometry import Point
  from geopandas import GeoDataFrame, GeoSeries
label_desc: Use image node_id 9 for calling the TestMerging obj's underlying member method code with example usage: obj.test_concat_axis1_multiple_geodataframes() without return types