We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ccbb5 commit b992a5eCopy full SHA for b992a5e
tests/iotools/test_solargis.py
@@ -65,7 +65,8 @@ def test_get_solargis_utc_start_timestamp(hourly_index_start_utc):
65
@pytest.mark.flaky(reruns=RERUNS, reruns_delay=RERUNS_DELAY)
66
def test_get_solargis_http_error():
67
# Test if HTTPError is raised if date outside range is specified
68
- with pytest.raises(requests.HTTPError, match="data coverage"):
+ match = r"request fromDate .* is before the available start date"
69
+ with pytest.raises(requests.HTTPError, match=match):
70
_, _ = pvlib.iotools.get_solargis(
71
latitude=48.61259, longitude=20.827079,
72
start='1920-01-01', end='1920-01-01', # date outside range
0 commit comments