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 Jan 30, 2023
1 parent 7d62899 commit 11b6c23
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 @@ -2185,7 +2185,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 11b6c23

Please sign in to comment.