Commit d43f0b99 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed test.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 7cc59f6b
Pipeline #22806 passed with stages
in 2 minutes and 26 seconds
......@@ -147,8 +147,7 @@ class Test_GeoArray(TestCase):
GeoArray(np.array([1, 2]).astype(np.uint8), nodata=256)
# test float nodata value together with integer array data type
with self.assertRaises(ValueError):
GeoArray(np.array([1, 2]).astype(np.uint8), nodata=0.)
GeoArray(np.array([1, 2]).astype(np.uint8), nodata=0.)
@parameterized.expand(_get_gA_inMem_notInMem())
def test_calc_mask_nodata(self, _, gA):
......
Markdown is supported
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