MCPcopy Create free account
hub / github.com/shapely/shapely / test_nearest_empty_tree

Function test_nearest_empty_tree

shapely/tests/test_strtree.py:1507–1509  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1505
1506
1507def test_nearest_empty_tree():
1508 tree = STRtree([])
1509 assert tree.nearest(point) is None
1510
1511
1512@pytest.mark.parametrize("geometry", ["I am not a geometry"])

Callers

nothing calls this directly

Calls 2

nearestMethod · 0.95
STRtreeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…