Skip to content

Commit

Permalink
Fix tests for GEOS main (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervdw committed Oct 31, 2021
1 parent ed4eb01 commit e3f9a8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pygeos/tests/test_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,9 +582,11 @@ def test_set_precision_grid_size_nan():
pytest.param(
pygeos.Geometry("LINEARRING (0 0, 0.1 0, 0.1 0.1, 0 0.1, 0 0)"),
"keep_collapsed",
pygeos.Geometry("LINEARRING (0 0, 0 0, 0 0, 0 0, 0 0)"),
# See https://trac.osgeo.org/geos/ticket/1135#comment:5
pygeos.Geometry("LINESTRING (0 0, 0 0, 0 0)"),
marks=pytest.mark.skipif(
pygeos.geos_version == (3, 10, 0), reason="GEOS 3.10.0"
pygeos.geos_version < (3, 10, 0),
reason="this collapsed into an invalid linearring pre-GEOS 3.10",
),
),
(
Expand Down

0 comments on commit e3f9a8d

Please sign in to comment.