From 34936930fc6a430241a95c236f74c2b11c320afd Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 16 Apr 2025 16:32:14 -0400 Subject: [PATCH] adjust test to match new API error message --- tests/iotools/test_solaranywhere.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/iotools/test_solaranywhere.py b/tests/iotools/test_solaranywhere.py index accb6a930d..54216a7ab0 100644 --- a/tests/iotools/test_solaranywhere.py +++ b/tests/iotools/test_solaranywhere.py @@ -283,7 +283,8 @@ def test_get_solaranywhere_timeout_tgy(solaranywhere_api_key): @pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY) def test_get_solaranywhere_not_available(solaranywhere_api_key): # Test if RuntimeError is raised if location in the ocean is requested - with pytest.raises(RuntimeError, match="Tile is outside of our coverage"): + with pytest.raises(RuntimeError, + match="Location is outside of our coverage area"): pvlib.iotools.get_solaranywhere( latitude=40, longitude=-70, api_key=solaranywhere_api_key,