Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Oct 14, 2017
1 parent 7e34bee commit 277b508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsgeometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def testIsEmpty(self):
def testVertexIterator(self):
g = QgsGeometry.fromWkt('Linestring(11 12, 13 14)')
it = g.vertices()
self.assertEqual(next(it), QgsPointV2(11, 12))
self.assertEqual(next(it), QgsPointV2(13, 14))
self.assertEqual(next(it), QgsPoint(11, 12))
self.assertEqual(next(it), QgsPoint(13, 14))
with self.assertRaises(StopIteration):
next(it)

Expand Down

0 comments on commit 277b508

Please sign in to comment.