Skip to content
Permalink
Browse files

Fix tests. Input is a Polygon, and output is a multipolygon

  • Loading branch information
lbartoletti authored and nyalldawson committed Feb 12, 2021
1 parent b906464 commit a31190ae51c73b76852c8deb360ccd27084df526
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsgeometry_avoid_intersections.py
@@ -60,7 +60,7 @@ def testNoSliverPolygons(self):
# create a geometry and remove its intersections with other geometries

g = QgsGeometry.fromWkt(newg_wkt)
assert g.avoidIntersections([l]) == 0
assert g.avoidIntersections([l]) == 2

# the resulting multi-polygon must have exactly three parts
# (in QGIS 2.0 it has one more tiny part that appears at the border between two of the original polygons)

0 comments on commit a31190a

Please sign in to comment.