Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/shapely/shapely
/ test_query_invalid_predicate
Function
test_query_invalid_predicate
shapely/tests/test_strtree.py:333–335 ·
view source on GitHub ↗
(tree, predicate)
Source
from the content-addressed store, hash-verified
331
],
332
)
333
def
test_query_invalid_predicate(tree, predicate):
334
with
pytest.raises(ValueError, match=
"is not a valid option"
):
335
tree.query(Point(1, 1), predicate=predicate)
336
337
338
@pytest.mark.parametrize(
Callers
nothing calls this directly
Calls
2
Point
Class · 0.90
query
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…