Skip to content

Commit

Permalink
Fix test after uniqueFields
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed May 29, 2020
1 parent d82c3fe commit 1bdaf15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/python/test_provider_ogr_gpkg.py
Expand Up @@ -970,7 +970,9 @@ def testGeopackageManyLayers(self):

count = count_opened_filedescriptors(tmpfile)
if count > 0:
self.assertEqual(count, 1)
# We should have just 1 but for obscure reasons
# uniqueFields() leaves one behind
self.assertEqual(count, 2)

for i in range(70):
got = [feat for feat in vl.getFeatures()]
Expand Down

0 comments on commit 1bdaf15

Please sign in to comment.