Commit 35d15f01 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Replaced deprecated numpy data type.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent f770005e
......@@ -186,7 +186,7 @@ class Test_GeoArray(TestCase):
GeoArray(np.array([1, 2]).astype(np.uint8), nodata=0.)
# test NaN nodata value together with float array data type
GeoArray(np.array([1, 2]).astype(np.float), nodata=np.nan)
GeoArray(np.array([1, 2]).astype(float), nodata=np.nan)
@parameterized.expand(_get_gA_inMem_notInMem())
def test_calc_mask_nodata(self, _, gA):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment