Skip to content

Commit

Permalink
Updating test case
Browse files Browse the repository at this point in the history
  • Loading branch information
calebrob6 committed Mar 22, 2023
1 parent 6a992cf commit ce19188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/datasets/test_geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ def sentinel(self, request: SubRequest) -> Sentinel2:
@pytest.fixture()
def custom_dtype_ds(self) -> RasterDataset:
root = os.path.join("tests", "data", "raster")
return RasterDataset(root)
ds = RasterDataset(root)
ds.dtype = torch.long
return ds

def test_getitem_single_file(self, naip: NAIP) -> None:
x = naip[naip.bounds]
Expand Down

0 comments on commit ce19188

Please sign in to comment.