Skip to content

Commit

Permalink
Fixing a test in response to a deprecationwarning in numpy.
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed Dec 20, 2022
1 parent 92baa6d commit 4a50b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_geoprocessing.py
Expand Up @@ -2380,7 +2380,7 @@ def local_op(scalar, raster_array, col_array):

def test_raster_calculator_signed_byte(self):
"""PGP.geoprocessing: test that signed byte pixels interpreted."""
pixel_array = numpy.ones((128, 128), numpy.byte)
pixel_array = numpy.ones((128, 128), numpy.uint8)
# ArcGIS will create a signed byte raster with an unsigned value of 255
# that actually is supposed to represent -1, even though the nodata
# value will be set as -1.
Expand Down

0 comments on commit 4a50b65

Please sign in to comment.