Skip to content

Commit 277b508

Browse files
committedOct 14, 2017
Fix test
1 parent 7e34bee commit 277b508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/src/python/test_qgsgeometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def testIsEmpty(self):
8888
def testVertexIterator(self):
8989
g = QgsGeometry.fromWkt('Linestring(11 12, 13 14)')
9090
it = g.vertices()
91-
self.assertEqual(next(it), QgsPointV2(11, 12))
92-
self.assertEqual(next(it), QgsPointV2(13, 14))
91+
self.assertEqual(next(it), QgsPoint(11, 12))
92+
self.assertEqual(next(it), QgsPoint(13, 14))
9393
with self.assertRaises(StopIteration):
9494
next(it)
9595

0 commit comments

Comments
 (0)
Please sign in to comment.