Skip to content

Commit

Permalink
more QgsPointXY
Browse files Browse the repository at this point in the history
  • Loading branch information
luipir committed Jun 12, 2017
1 parent 22b7498 commit e5e887f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsvectorlayereditbuffer.py
Original file line number Diff line number Diff line change
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), QgsPointXY(2, 2)],
[QgsPoint(3, 3), QgsPointXY(4, 4)],
[QgsPointXY(1, 1), QgsPointXY(2, 2)],
[QgsPointXY(3, 3), QgsPointXY(4, 4)],
]
f1 = QgsFeature(layer.fields(), 1)
f1.setGeometry(QgsGeometry.fromMultiPolyline(multiline))
Expand Down

0 comments on commit e5e887f

Please sign in to comment.