10000 improve forecast test reliability by wholmgren · Pull Request #303 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

improve forecast test reliability #303

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 4 commits into from
Feb 7, 2017
Merged

Conversation

wholmgren
Copy link
Member

Resolved several issues with the forecast module tests. Library import errors were resolved by prioritizing the conda-forge channel over the default channel. Stalled ci runs were resolved by adding a timeout to the HRRR_ESRL test. Items 3 and 4 of issue #293.

It adds a test requirement, pytest-timeout, that is not particularly popular. The pytest-timeout plugin is part of the pytest-dev organization, though, so it shouldn't become abandonware. For now, I think this is preferable to writing our own timeout code.

Still more work to do to fully resolve #293, but this at least gets the builds working most of the time instead of none of the time. Assuming the Travis/Appveyor builds pass, I'll merge this Monday afternoon/evening unless there are objections.

@wholmgren wholmgren added this to the 0.4.4 milestone Feb 5, 2017
@wholmgren wholmgren merged commit be65117 into pvlib:master Feb 7, 2017
@wholmgren wholmgren deleted the fxtests branch September 9, 2017 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make test_forecast.py more robust
1 participant
0