docstr: Tests building sindex with interleaved empty geometries.
code: def test_empty_tree_geometries(self):
      """Tests building sindex with interleaved empty geometries."""
      geoms = [Point(0, 0), None, Point(), Point(1, 1), Point()]
      df = geopandas.GeoDataFrame(geometry=geoms)
      assert df.sindex.query(Point(1, 1))[0] == 3
  
imports: from math import sqrt
  import numpy
  import pandas
  import pytest
  import shapely
  from numpy.testing import assert_array_equal
  from shapely.geometry import GeometryCollection, LineString, MultiPolygon, Point, Polygon, box
  import geopandas
  from geopandas import GeoDataFrame, GeoSeries, read_file
  from geopandas import _compat
label_desc: Use image node_id 25 for calling the TestShapelyInterface obj's underlying member method code with example usage: obj.test_empty_tree_geometries() without return types