code: def test_from_sequence():
      # From single coordinate pair
      p = Point((3.0, 4.0))
      assert p.coords[:] == [(3.0, 4.0)]
      p = Point([3.0, 4.0])
      assert p.coords[:] == [(3.0, 4.0)]
  
      # From coordinate sequence
      p = Point([(3.0, 4.0)])
      assert p.coords[:] == [(3.0, 4.0)]
      p = Point([[3.0, 4.0]])
      assert p.coords[:] == [(3.0, 4.0)]
  
      # PointZ
      p = Point((3.0, 4.0, 5.0))
      assert p.coords[:] == [(3.0, 4.0, 5.0)]
      p = Point([3.0, 4.0, 5.0])
      assert p.coords[:] == [(3.0, 4.0, 5.0)]
      p = Point([(3.0, 4.0, 5.0)])
      assert p.coords[:] == [(3.0, 4.0, 5.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 2 for calling a global function with example usage: test_from_sequence() without return types