[2.0.x] Relaxed a GDAL raster test.
The exact metadata depends on the GDAL version.
Backport of 3dffcb5579
from master
This commit is contained in:
parent
ceeccc51d2
commit
925f3219f5
|
@ -284,10 +284,9 @@ class GDALRasterTests(SimpleTestCase):
|
||||||
self.rs.metadata
|
self.rs.metadata
|
||||||
return
|
return
|
||||||
|
|
||||||
self.assertEqual(
|
data = self.rs.metadata
|
||||||
self.rs.metadata,
|
self.assertEqual(data['DEFAULT'], {'AREA_OR_POINT': 'Area'})
|
||||||
{'DEFAULT': {'AREA_OR_POINT': 'Area'}, 'IMAGE_STRUCTURE': {'INTERLEAVE': 'BAND'}},
|
self.assertEqual(data['IMAGE_STRUCTURE'], {'INTERLEAVE': 'BAND'})
|
||||||
)
|
|
||||||
|
|
||||||
# Create file-based raster from scratch
|
# Create file-based raster from scratch
|
||||||
source = GDALRaster({
|
source = GDALRaster({
|
||||||
|
|
Loading…
Reference in New Issue