code: def test_numpy_object_array():
      geom = GeometryCollection([LineString([(0, 0), (1, 1)])])
      ar = np.empty(1, object)
      ar[:] = [geom]
      assert ar[0] == geom
  
file_path: shapely/shapely/tests/geometry/test_collection.py
imports: import numpy
  import pytest
  from shapely import GeometryCollection, LineString, Point, wkt
  from shapely.geometry import shape
label_desc: Use image node_id 8 for calling a global function with example usage: test_numpy_object_array() without return types