Skip to content

Commit

Permalink
test_provider_ogr_gpkg.py: avoid infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault authored and nyalldawson committed Apr 1, 2023
1 parent fb76f01 commit eeae183
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/python/test_provider_ogr_gpkg.py
Expand Up @@ -2184,7 +2184,8 @@ def testTransactionGroupIterator(self):

self.assertTrue(vl.startEditing())

for f in vl.getFeatures():
features = [f for f in vl.getFeatures()]
for f in features:
self.assertTrue(vl.changeAttributeValue(1, 1, 'new value'))

# Test that QGIS sees the new changes
Expand Down

0 comments on commit eeae183

Please sign in to comment.