code: def test_offset_curve_non_scalar_kwargs():
      msg = "only accepts scalar values"
      with pytest.raises(TypeError, match=msg):
          shapely.offset_curve(
              [line_string, line_string], 1, quad_segs=np.array([8, 9])
          )
  
      with pytest.raises(TypeError, match=msg):
          shapely.offset_curve(
              [line_string, line_string],
              1,
              join_style=["round", "bevel"],
          )
  
      with pytest.raises(TypeError, match=msg):
          shapely.offset_curve(
              [line_string, line_string], 1, mitre_limit=[5.0, 6.0]
          )
  
imports: import numpy
  import pytest
  import shapely
  from shapely import Geometry, GeometryCollection, GEOSException, LinearRing, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import all_types, empty, empty_line_string, empty_point, empty_polygon, ignore_invalid, line_string, multi_point, point, point_z
label_desc: Use image node_id 20 for calling a global function with example usage: test_offset_curve_non_scalar_kwargs() without return types