Relaxed a GDAL raster test.

The exact metadata depends on the GDAL version.
This commit is contained in:
Tim Graham 2018-05-29 21:39:31 -04:00 committed by GitHub
parent f1f4aeb22e
commit 3dffcb5579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -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({