code: def test_check_schema_driver_support_shp(tmpdir, field_type):
      with pytest.raises(DriverSupportError):
          name = str(tmpdir.join("test_scheme.shp"))
          items = [("field1", field_type)]
          with fiona.open(
              name,
              "w",
              driver="ESRI Shapefile",
              schema={"geometry": "LineString", "properties": items},
          ) as c:
              pass
  
imports: import os
  import tempfile
  import pytest
  import fiona
  from fiona.drvsupport import driver_mode_mingdal
  from fiona.env import GDALVersion
  from fiona.errors import SchemaError, UnsupportedGeometryTypeError, DriverSupportError
  from fiona.model import Feature
  from fiona.schema import FIELD_TYPES, normalize_field_type
  from .conftest import get_temp_filename
  from .conftest import requires_only_gdal1, requires_gdal2
label_desc: Use image node_id 13 for calling a global function with example usage: test_check_schema_driver_support_shp(tmpdir, field_type) without return types