Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/sphinx/source/whatsnew/v0.8.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Testing
* Add airspeed velocity performance testing configuration and a few benchmarks.
(:issue:`419`, :pull:`1049`, :pull:`1059`)
* Add Python 3.9 CI configurations. (:issue:`1102`, :pull:`1112`)
* Update ``test_pvgis.py`` to be more flexible about the PVGIS copyright notice
(:pull:`1121`)

Documentation
~~~~~~~~~~~~~
Expand Down
3 changes: 2 additions & 1 deletion pvlib/tests/iotools/test_pvgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def _compare_pvgis_tmy_csv(expected, month_year_expected, inputs_expected,
for meta_value in meta:
if not meta_value:
continue
if meta_value == 'PVGIS (c) European Communities, 2001-2020':
# don't check end year because it changes every year
if meta_value[:-4] == 'PVGIS (c) European Communities, 2001-':
continue
assert meta_value in csv_meta

Expand Down