[2.1.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
3ff605b54b
commit
ae3ddce4e8
|
@ -284,10 +284,9 @@ class GDALRasterTests(SimpleTestCase):
|
|||
self.rs.metadata
|
||||
return
|
||||
|
||||
self.assertEqual(
|
||||
self.rs.metadata,
|
||||
{'DEFAULT': {'AREA_OR_POINT': 'Area'}, 'IMAGE_STRUCTURE': {'INTERLEAVE': 'BAND'}},
|
||||
)
|
||||
data = self.rs.metadata
|
||||
self.assertEqual(data['DEFAULT'], {'AREA_OR_POINT': 'Area'})
|
||||
self.assertEqual(data['IMAGE_STRUCTURE'], {'INTERLEAVE': 'BAND'})
|
||||
|
||||
# Create file-based raster from scratch
|
||||
source = GDALRaster({
|
||||
|
|
Loading…
Reference in New Issue