code: def test_from_generator():
      gen = (coord for coord in [(1.0, 2.0)])
      p = Point(gen)
      assert p.coords[:] == [(1.0, 2.0)]
  
file_path: shapely/shapely/tests/geometry/test_point.py
imports: import numpy
  import pytest
  from shapely import Point
  from shapely.coords import CoordinateSequence
  from shapely.errors import DimensionError
label_desc: Use image node_id 6 for calling a global function with example usage: test_from_generator() without return types