Skip to content

Commit

Permalink
more QgsPoint -> QgsPointXY fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and luipir committed Jun 12, 2017
1 parent 44c6560 commit 22b7498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsvectorlayereditbuffer.py
Expand Up @@ -97,8 +97,8 @@ def testAddFeatures(self):
# add a features with a multi line geometry of not touched lines =>
# cannot be forced to be linestring
multiline = [
[QgsPoint(1, 1), QgsPoint(2, 2)],
[QgsPoint(3, 3), QgsPoint(4, 4)],
[QgsPoint(1, 1), QgsPointXY(2, 2)],
[QgsPoint(3, 3), QgsPointXY(4, 4)],
]
f1 = QgsFeature(layer.fields(), 1)
f1.setGeometry(QgsGeometry.fromMultiPolyline(multiline))
Expand Down

0 comments on commit 22b7498

Please sign in to comment.