Skip to content

Commit 22b7498

Browse files
alexbruyluipir
authored andcommitted
more QgsPoint -> QgsPointXY fixes
1 parent 44c6560 commit 22b7498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/python/test_qgsvectorlayereditbuffer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def testAddFeatures(self):
9797
# add a features with a multi line geometry of not touched lines =>
9898
# cannot be forced to be linestring
9999
multiline = [
100-
[QgsPoint(1, 1), QgsPoint(2, 2)],
101-
[QgsPoint(3, 3), QgsPoint(4, 4)],
100+
[QgsPoint(1, 1), QgsPointXY(2, 2)],
101+
[QgsPoint(3, 3), QgsPointXY(4, 4)],
102102
]
103103
f1 = QgsFeature(layer.fields(), 1)
104104
f1.setGeometry(QgsGeometry.fromMultiPolyline(multiline))

0 commit comments

Comments
 (0)