code: def test_unsupported_geometry_type():
      tmpdir = tempfile.mkdtemp()
      tmpfile = os.path.join(tmpdir, "test-test-geom.shp")
  
      profile = {
          "driver": "ESRI Shapefile",
          "schema": {"geometry": "BOGUS", "properties": {}},
      }
  
      with pytest.raises(UnsupportedGeometryTypeError):
          fiona.open(tmpfile, "w", **profile)
  
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 4 for calling a global function with example usage: test_unsupported_geometry_type() without return types