Skip to content

Commit 8557715

Browse files
committed
More numpy dtypes
1 parent 6092e17 commit 8557715

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intake_xarray/tests/test_remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_http_read_rasterio(data_server):
6969
assert ("+init" in da.attrs.get('crs', "") or "+proj" in da.attrs.get('crs', "") or
7070
"PROJCS" in da.spatial_ref.attrs["crs_wkt"])
7171
assert da.attrs['AREA_OR_POINT'] == 'Area'
72-
assert da.dtype == 'uint8'
72+
assert da.dtype == np.uint8
7373
assert da.isel(band=2,x=300,y=500).values == 129
7474

7575

@@ -236,7 +236,7 @@ def test_s3_read_rasterio(s3):
236236
assert ("+init" in da.attrs.get('crs', "") or "+proj" in da.attrs.get('crs', "") or
237237
"PROJCS" in da.spatial_ref.attrs["crs_wkt"])
238238
assert da.attrs['AREA_OR_POINT'] == 'Area'
239-
assert da.dtype == 'uint8'
239+
assert da.dtype == np.uint8
240240
assert da.isel(band=2,x=300,y=500).values == 129
241241

242242

0 commit comments

Comments
 (0)