@@ -37,7 +37,7 @@ def test_numpy_feature_types(self):
37
37
38
38
data_examples = []
39
39
for size in range (6 ):
40
- for dtype in [np .float32 , np .float64 , np . float , np .uint8 , np .int64 , np . bool ]:
40
+ for dtype in [np .float32 , np .float64 , float , np .uint8 , np .int64 , bool ]:
41
41
data_examples .append (np .zeros ((2 , ) * size , dtype = dtype ))
42
42
43
43
for feature_type in FeatureTypeSet .RASTER_TYPES :
@@ -252,8 +252,8 @@ def test_concatenate_missmatched_timeless(self):
252
252
_ = EOPatch .concatenate (eop1 , eop2 )
253
253
254
254
def test_equals (self ):
255
- eop1 = EOPatch (data = {'bands' : np .arange (2 * 3 * 3 * 2 ).reshape (2 , 3 , 3 , 2 )})
256
- eop2 = EOPatch (data = {'bands' : np .arange (2 * 3 * 3 * 2 ).reshape (2 , 3 , 3 , 2 )})
255
+ eop1 = EOPatch (data = {'bands' : np .arange (2 * 3 * 3 * 2 , dtype = np . float32 ).reshape (2 , 3 , 3 , 2 )})
256
+ eop2 = EOPatch (data = {'bands' : np .arange (2 * 3 * 3 * 2 , dtype = np . float32 ).reshape (2 , 3 , 3 , 2 )})
257
257
self .assertEqual (eop1 , eop2 )
258
258
259
259
eop1 .data ['bands' ][1 , ...] = np .nan
0 commit comments