code: def test_property_only_schema_write(tmpdir, driver):
      schema = {
          # No geometry defined here.
          "properties": {"prop1": "str"}
      }
  
      record1 = Feature.from_dict(**{"properties": {"prop1": "one"}})
  
      path = str(tmpdir.join(get_temp_filename(driver)))
  
      with fiona.open(
          path, mode="w", driver=driver, schema=schema
      ) as c:
          c.write(record1)
  
      with fiona.open(path, mode="r", driver=driver) as c:
          data = [f for f in c]
          assert len(data) == 1
          assert len(data[0].properties) == 1
          assert (
              "prop1" in data[0].properties
              and data[0].properties["prop1"] == "one"
          )
          for f in data:
              assert f.geometry is None
  
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 17 for calling a global function with example usage: test_property_only_schema_write(tmpdir, driver) without return types