code: def test_invalid_schema(filename_shp):
      """Features match schema but geometries not supported by driver"""
      schema = {
          "geometry": ("Point", "LineString"),
          "properties": properties,
      }
      with fiona.open(
          filename_shp, "w", driver="ESRI Shapefile", schema=schema
      ) as collection:
          write_linestring(collection)
  
          with pytest.raises(RuntimeError):
              # ESRI Shapefile can only store a single geometry type
              write_point(collection)
  
imports: import fiona
  import pytest
  from fiona.errors import GeometryTypeValidationError, UnsupportedGeometryTypeError
  from fiona.model import Feature
label_desc: Use image node_id 17 for calling a global function with example usage: test_invalid_schema(filename_shp) without return types