Avoid unexpected gpkg test success with older GDAL versions

This commit is contained in:
Nyall Dawson 2016-11-02 09:38:02 +10:00
parent b679cbe091
commit fb849620e7

View File

@ -162,7 +162,7 @@ class TestPyQgsOGRProviderGpkg(unittest.TestCase):
def testBug15351_commit_closeIter_closeProvider(self):
self.internalTestBug15351('commit_closeIter_closeProvider')
@unittest.expectedFailure(int(gdal.VersionInfo('VERSION_NUM')) < GDAL_COMPUTE_VERSION(2, 1, 2))
@unittest.skip(int(gdal.VersionInfo('VERSION_NUM')) < GDAL_COMPUTE_VERSION(2, 1, 2))
def testGeopackageExtentUpdate(self):
''' test http://hub.qgis.org/issues/15273 '''
tmpfile = os.path.join(self.basetestpath, 'testGeopackageExtentUpdate.gpkg')