Skip to content

Commit ef012c4

Browse files
committedNov 2, 2016
Fix test for QT5
1 parent eb91915 commit ef012c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/src/python/test_provider_ogr_gpkg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def testDisablewalForSqlite3(self):
235235
self.assertEqual(res, 'delete')
236236

237237
self.assertTrue(vl.startEditing())
238-
feature = vl.getFeatures().next()
238+
feature = next(vl.getFeatures())
239239
self.assertTrue(vl.changeAttributeValue(feature.id(), 1, 1001))
240240

241241
# Commit changes

2 commit comments

Comments
 (2)

DelazJ commented on Nov 2, 2016

@DelazJ
Contributor

@rouault I'm not sure it's worth patching 2.16. Afaict there won't be another release of 2.16.
@jef-n ?

jef-n commented on Nov 2, 2016

@jef-n
Member

Right. Point releases are only done for the latest and the long term release.

Please sign in to comment.