code: def test_write__wkt_version(tmpdir):
      """https://github.com/Toblerity/Fiona/issues/977"""
      schema = {"geometry": "Point", "properties": {"zero": "int"}}
      feature = Feature.from_dict(
          **{
              "geometry": {"type": "Point", "coordinates": (0, 0)},
              "properties": {"zero": "0"},
          }
      )
      target_crs = (
          'PROJCS["IaRCS_04_Sioux_City-Iowa_Falls_NAD_1983_2011_LCC_US_Feet",'
          'GEOGCS["GCS_NAD_1983_2011",DATUM["D_NAD_1983_2011",'
          'SPHEROID["GRS_1980",6378137.0,298.257222101]],'
          'PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],'
          'PROJECTION["Lambert_Conformal_Conic"],'
          'PARAMETER["False_Easting",14500000.0],'
          'PARAMETER["False_Northing",8600000.0],'
          'PARAMETER["Central_Meridian",-94.83333333333333],'
          'PARAMETER["Standard_Parallel_1",42.53333333333333],'
          'PARAMETER["Standard_Parallel_2",42.53333333333333],'
          'PARAMETER["Scale_Factor",1.000045],'
          'PARAMETER["Latitude_Of_Origin",42.53333333333333],'
          'UNIT["Foot_US",0.3048006096012192]]'
      )
      outputfile = tmpdir.join("test.shp")
      with fiona.open(
          str(outputfile),
          "w",
          driver="ESRI Shapefile",
          schema=schema,
          crs=target_crs,
          wkt_version="WKT2_2018",
      ) as collection:
          collection.write(feature)
          assert collection.crs_wkt.startswith(
              'PROJCRS["IaRCS_04_Sioux_City-Iowa_Falls_NAD_1983_2011_LCC_US_Feet"'
          )
  
file_path: Fiona/tests/test_write.py
imports: import pytest
  from .conftest import requires_gdal33
  import fiona
  from fiona.crs import CRS
  from fiona.errors import DriverError
  from fiona.model import Feature
label_desc: Use image node_id 3 for calling a global function with example usage: test_write__wkt_version(tmpdir) without return types