def METHOD_NAME(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)