Skip to content

Address iotools test failures #1219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 7, 2021
Merged
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
5 changes: 3 additions & 2 deletions pvlib/tests/iotools/test_pvgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ def _compare_pvgis_tmy_csv(expected, month_year_expected, inputs_expected,
for meta_value in meta:
if not meta_value:
continue
# don't check end year because it changes every year
if meta_value[:-4] == 'PVGIS (c) European Communities, 2001-':
# this copyright text tends to change (copyright year range increments
# annually, e.g.), so just check the beginning of it:
if meta_value.startswith('PVGIS (c) European'):
continue
assert meta_value in csv_meta

Expand Down