code: def test_feature_from_geo_interface():
      # https://github.com/shapely/shapely/issues/1814
      class Feature:
          @property
          def __geo_interface__(self):
              return {
                  "type": "Feature",
                  "geometry": {"type": "Point", "coordinates": [0, 0]},
              }
  
      expected = Point([0, 0])
      result = shape(Feature())
      assert result == expected
  
file_path: shapely/shapely/tests/legacy/test_shape.py
imports: import pytest
  from shapely.geometry import MultiLineString, Point, Polygon, shape
  from shapely.geometry.geo import _is_coordinates_empty
label_desc: Use image node_id 7 for calling a global function with example usage: test_feature_from_geo_interface() and returns: dict