Skip to content

Commit

Permalink
add xfail for new failure with GEOS 3.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Jan 3, 2024
1 parent 5674f9f commit 0a7ffef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shapely/tests/test_set_operations.py
Expand Up @@ -47,6 +47,13 @@
@pytest.mark.parametrize("a", all_types)
@pytest.mark.parametrize("func", SET_OPERATIONS)
def test_set_operation_array(a, func):
if (
func is shapely.difference
and a.geom_type == "GeometryCollection"
and shapely.get_num_geometries(a) == 2
and shapely.geos_version == (3, 9, 5)
):
pytest.xfail("GEOS 3.9.5 crashes with mixed collection")
actual = func(a, point)
assert isinstance(actual, Geometry)

Expand Down

0 comments on commit 0a7ffef

Please sign in to comment.