code: def test_binary_empty_result():
      a = LineString([(0, 0), (3, 0), (3, 3), (0, 3)])
      b = LineString([(5, 1), (6, 1)])
      with ignore_invalid(shapely.geos_version < (3, 12, 0)):
          # Intersection resulting in empty geometries give 'invalid value encountered'
          # (https://github.com/shapely/shapely/issues/1345)
          assert shapely.intersection(a, b).is_empty
  
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 7 for calling a global function with example usage: test_binary_empty_result() without return types