Skip to content

Unused fixture input in a fixture #2105

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

Closed
echedey-ls opened this issue Jun 22, 2024 · 3 comments · Fixed by #2156
Closed

Unused fixture input in a fixture #2105

echedey-ls opened this issue Jun 22, 2024 · 3 comments · Fixed by #2156

Comments

@echedey-ls
Copy link
Contributor

Was the following piece of code supposed to use it's input?

https://github.com/pvlib/pvlib-python/blob/55e0a36fac1e3931b92f5f11508f6c09d903e0cc/pvlib/tests/test_irradiance.py#L61C1-L65C30

My suggestion is to remove the input parameter; I've run the tests without it and that works locally.

I suppose it's not a big deal, and for the same reason, another nice good first contribution.

@wholmgren
Copy link
Member

I think it's a holdover from when dni_et (and other inputs) were calculated inputs rather than fixed inputs to various tests. It was easy to get started with calculated inputs but we eventually realized that led to unhealthy coupling in the test suite. So, safe to remove the unused fixture there.

@Clemo97
Copy link

Clemo97 commented Jul 17, 2024

Was this issue fixed??

@echedey-ls
Copy link
Contributor Author

Hi @Clemo97 !

No, it hasn't. Would you like to work on this?

I recommend reading the how to contribute page https://pvlib-python.readthedocs.io/en/stable/index.html

And this amazing post from @kurt-rhee https://kurt-rhee.github.io/2024/06/13/how-to-contribute-to-pvlib

We would be happy to help you get involved :)

JoseMezaMendieta added a commit to JoseMezaMendieta/pvlib-python that referenced this issue Aug 7, 2024
JoseMezaMendieta added a commit to JoseMezaMendieta/pvlib-python that referenced this issue Aug 7, 2024
@kandersolar kandersolar added this to the v0.11.1 milestone Aug 7, 2024
kandersolar pushed a commit that referenced this issue Aug 7, 2024
* Removed unused input as stated in issue #2105

* Added entries for fix for issue #2105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants