Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/shapely/shapely
/ test_query_invalid_dimension
Function
test_query_invalid_dimension
shapely/tests/test_strtree.py:169–171 ·
view source on GitHub ↗
(tree)
Source
from the content-addressed store, hash-verified
167
168
169
def
test_query_invalid_dimension(tree):
170
with
pytest.raises(TypeError, match=
"Array should be one dimensional"
):
171
tree.query([[Point(0.5, 0.5)]])
172
173
174
@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…