Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix test_provider_ogr_gpkg.py
  • Loading branch information
rouault committed Oct 31, 2016
1 parent 8cf03ce commit 819f571
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 @@ -160,9 +160,10 @@ def testBug15351_commit_closeIter_closeProvider(self):
return
self.internalTestBug15351('commit_closeIter_closeProvider')

@unittest.expectedFailure(int(gdal.VersionInfo('VERSION_NUM')) < GDAL_COMPUTE_VERSION(2, 1, 2))
def testGeopackageExtentUpdate(self):
''' test http://hub.qgis.org/issues/15273 '''
if int(gdal.VersionInfo('VERSION_NUM')) < GDAL_COMPUTE_VERSION(2, 1, 2):
return
tmpfile = os.path.join(self.basetestpath, 'testGeopackageExtentUpdate.gpkg')
ds = ogr.GetDriverByName('GPKG').CreateDataSource(tmpfile)
lyr = ds.CreateLayer('test', geom_type=ogr.wkbPoint)
Expand Down

0 comments on commit 819f571

Please sign in to comment.