mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Refs #26432 -- Skipped a raster test as needed.
This commit is contained in:
parent
6c9603277d
commit
a3265af808
@ -320,6 +320,7 @@ class GDALBandTests(SimpleTestCase):
|
||||
self.assertEqual(self.band.datatype(), 1)
|
||||
self.assertEqual(self.band.datatype(as_string=True), 'GDT_Byte')
|
||||
self.assertEqual(self.band.nodata_value, 15)
|
||||
if numpy:
|
||||
data = self.band.data()
|
||||
assert_array = numpy.loadtxt(
|
||||
os.path.join(os.path.dirname(upath(__file__)), '../data/rasters/raster.numpy.txt')
|
||||
|
Loading…
Reference in New Issue
Block a user