Skip to content
Permalink
Browse files

more QgsPoint -> QgsPointXY fixes

  • Loading branch information
alexbruy authored and luipir committed Jun 12, 2017
1 parent 44c6560 commit 22b7498cf8c763649876d908a9f8dcc170ca6563
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsvectorlayereditbuffer.py
@@ -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))

0 comments on commit 22b7498

Please sign in to comment.
You can’t perform that action at this time.