code: def test_hilbert_distance_level(geoseries_points):
      with pytest.raises(ValueError):
          geoseries_points.hilbert_distance(level=20)
  
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 3 for calling a global function with example usage: test_hilbert_distance_level(geoseries_points) without return types