Skip to content

Commit 580037a

Browse files
authored
Update expected response text in get_solaranywhere test (#2442)
1 parent 3f43a52 commit 580037a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/iotools/test_solaranywhere.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ def test_get_solaranywhere_timeout_tgy(solaranywhere_api_key):
283283
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
284284
def test_get_solaranywhere_not_available(solaranywhere_api_key):
285285
# Test if RuntimeError is raised if location in the ocean is requested
286-
with pytest.raises(RuntimeError, match="Tile is outside of our coverage"):
286+
with pytest.raises(RuntimeError,
287+
match="Location is outside of our coverage area"):
287288
pvlib.iotools.get_solaranywhere(
288289
latitude=40, longitude=-70,
289290
api_key=solaranywhere_api_key,

0 commit comments

Comments
 (0)