code: def test_empty(geoseries_points, empty):
      s = geoseries_points
      s.iloc[-1] = empty
      with pytest.raises(
          ValueError,
          match="cannot be computed on a GeoSeries with empty",
      ):
          s.hilbert_distance()
  
file_path: geopandas/geopandas/tools/tests/test_hilbert_curve.py
imports: import numpy
  from shapely.geometry import Point
  from shapely.wkt import loads
  import geopandas
  import pytest
  from pandas.testing import assert_series_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_empty(geoseries_points, empty) without return types