code: def test_null_geometry_encoding():
      """A null feature geometry is retained."""
      # Verifies fix for gh-1270.
      o_dict = ObjectEncoder().default(Feature())
      assert o_dict["geometry"] is None
  
imports: import pytest
  from fiona.errors import FionaDeprecationWarning
  from fiona.model import _Geometry, Feature, Geometry, Object, ObjectEncoder, Properties, decode_object
label_desc: Use image node_id 32 for calling a global function with example usage: test_null_geometry_encoding() without return types