code: def test_dataframe_setitem(self):
      # new geometry CRS has priority over GDF CRS
      arr = from_shapely(self.geoms)
      s = GeoSeries(arr, crs=27700)
      df = GeoDataFrame()
      with pytest.warns(
          FutureWarning,
          match="You are adding a column named 'geometry'",
      ):
          df["geometry"] = s
      assert df.crs == self.osgb
      assert df.geometry.crs == self.osgb
      assert df.geometry.values.crs == self.osgb
  
      arr = from_shapely(self.geoms, crs=27700)
      df = GeoDataFrame()
      with pytest.warns(
          FutureWarning,
          match="You are adding a column named 'geometry'",
      ):
          df["geometry"] = arr
      assert df.crs == self.osgb
      assert df.geometry.crs == self.osgb
      assert df.geometry.values.crs == self.osgb
  
      # test to_crs case (GH1960)
      arr = from_shapely(self.geoms)
      df = GeoDataFrame({"col1": [1, 2], "geometry": arr}, crs=4326)
      df["geometry"] = df["geometry"].to_crs(27700)
      assert df.crs == self.osgb
      assert df.geometry.crs == self.osgb
      assert df.geometry.values.crs == self.osgb
  
      # test changing geometry crs not in the geometry column doesn't change the crs
      arr = from_shapely(self.geoms)
      df = GeoDataFrame(
          {"col1": [1, 2], "geometry": arr, "other_geom": arr}, crs=4326
      )
      df["other_geom"] = from_shapely(self.geoms, crs=27700)
      assert df.crs == self.wgs
      assert df.geometry.crs == self.wgs
      assert df["geometry"].crs == self.wgs
      assert df["other_geom"].crs == self.osgb
  
imports: import random
  import warnings
  import numpy
  import pandas
  import pyproj
  import pytest
  from shapely.geometry import Point, Polygon, LineString
  from geopandas import GeoSeries, GeoDataFrame, points_from_xy, read_file
  from geopandas.array import from_shapely, from_wkb, from_wkt, GeometryArray
  from geopandas.testing import assert_geodataframe_equal
label_desc: Use image node_id 6 for calling the TestGeometryArrayCRS obj's underlying member method code with example usage: obj.test_dataframe_setitem() without return types