code: def test_relate_pattern_empty():
      with ignore_invalid(shapely.geos_version < (3, 12, 0)):
          # Empty geometries give 'invalid value encountered' in all predicates
          # (see https://github.com/libgeos/geos/issues/515)
          assert (
              shapely.relate_pattern(empty, empty, "*" * 9).item()
              is True
          )
  
imports: from functools import partial
  import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.tests.common import all_types, all_types_z, empty, geometry_collection, ignore_invalid, line_string, linear_ring, point, polygon
label_desc: Use image node_id 23 for calling a global function with example usage: test_relate_pattern_empty() without return types