Skip to content

Commit

Permalink
MNT: Use int for reslution. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Taher Chegini committed May 26, 2024
1 parent 934b770 commit 932cc3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def test_wrong_bbox():
def test_wrong_layer():
geom = GEOM.bounds
with pytest.raises(InputValueError, match="DEM"):
_ = py3dep.get_map("None", geom, 1e3)
_ = py3dep.get_map("None", geom, 1000)


def test_wrong_crs():
geom = GEOM.bounds
with pytest.raises(InputValueError, match="crs"):
_ = py3dep.get_map("DEM", geom, 1e3, DEF_CRS, "ESRI:102003")
_ = py3dep.get_map("DEM", geom, 1000, DEF_CRS, "ESRI:102003")

0 comments on commit 932cc3f

Please sign in to comment.