code: def test_oriented_envelope_pre_geos_312(geometry, expected):
      # use private method (similar as direct shapely.lib.oriented_envelope)
      # to cover the C code for older GEOS versions
      actual = shapely.constructive._oriented_envelope_geos(geometry)
      assert_geometries_equal(
          actual, expected, normalize=True, tolerance=1e-3
      )
  
imports: import numpy
  import pytest
  import shapely
  from shapely import Geometry, GeometryCollection, GEOSException, LinearRing, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import all_types, empty, empty_line_string, empty_point, empty_polygon, ignore_invalid, line_string, multi_point, point, point_z
label_desc: Use image node_id 53 for calling a global function with example usage: test_oriented_envelope_pre_geos_312(geometry, expected) without return types