We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ecdbf2 commit 01ed3bdCopy full SHA for 01ed3bd
1 file changed
tests/iotools/test_pvgis.py
@@ -487,6 +487,9 @@ def test_get_pvgis_tmy_coerce_year():
487
for m, test_case in enumerate(noon_test_data):
488
expected = pvgis_data[pvgis_data.index.month == m+1].iloc[12]
489
assert all(test_case == expected)
490
+ # Test that get_pvgis_tmy defaults to coerce_year=1990
491
+ pvgis_data, _ = get_pvgis_tmy(45, 8)
492
+ assert all(pvgis_data.index.year == 1990)
493
494
495
@pytest.mark.remote_data
0 commit comments