code: def test_from_invalid():
      with pytest.raises(TypeError, match="takes at most 3 arguments"):
          Point(1, 2, 3, 4)
  
      # this worked in shapely 1.x, just ignoring the other coords
      with pytest.raises(
          ValueError,
          match="takes only scalar or 1-size vector arguments",
      ):
          Point([(2, 3), (11, 4)])
  
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 7 for calling a global function with example usage: test_from_invalid() without return types