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

Function test_relate_pattern_empty

shapely/tests/test_predicates.py:333–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331
332
333def test_relate_pattern_empty():
334 with ignore_invalid(shapely.geos_version < (3, 12, 0)):
335 # Empty geometries give 'invalid value encountered' in all predicates
336 # (see https://github.com/libgeos/geos/issues/515)
337 assert shapely.relate_pattern(empty, empty, "*" * 9).item() is True
338
339
340@pytest.mark.parametrize("g1, g2", [(point, None), (None, point), (None, None)])

Callers

nothing calls this directly

Calls 2

ignore_invalidFunction · 0.90
relate_patternMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…