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

Function test_relate_pattern_incorrect_length

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

Source from the content-addressed store, hash-verified

343
344
345def test_relate_pattern_incorrect_length():
346 with pytest.raises(shapely.GEOSException, match="Should be length 9"):
347 shapely.relate_pattern(point, polygon, "**")
348
349 with pytest.raises(shapely.GEOSException, match="Should be length 9"):
350 shapely.relate_pattern(point, polygon, "**********")
351
352
353@pytest.mark.parametrize("pattern", [b"*********", 10, None])

Callers

nothing calls this directly

Calls 1

relate_patternMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…