From 44fa28264e3d77355ddc1891f503033d900d67b2 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 6 Aug 2024 21:14:18 -0700 Subject: [PATCH 1/2] Removed unused input as stated in issue #2105 --- pvlib/tests/test_irradiance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/tests/test_irradiance.py b/pvlib/tests/test_irradiance.py index 8e9f99f11f..0eb951f9a1 100644 --- a/pvlib/tests/test_irradiance.py +++ b/pvlib/tests/test_irradiance.py @@ -59,7 +59,7 @@ def ephem_data(times): @pytest.fixture -def dni_et(times): +def dni_et(): return np.array( [1321.1655834833093, 1321.1655834833093, 1321.1655834833093, 1321.1655834833093]) From a7369c7205626354e43ad8c39bcc2bc64f294272 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 6 Aug 2024 21:40:57 -0700 Subject: [PATCH 2/2] Added entries for fix for issue #2105 --- docs/sphinx/source/whatsnew/v0.11.1.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.11.1.rst b/docs/sphinx/source/whatsnew/v0.11.1.rst index a143c1ad11..c8d087f17c 100644 --- a/docs/sphinx/source/whatsnew/v0.11.1.rst +++ b/docs/sphinx/source/whatsnew/v0.11.1.rst @@ -41,6 +41,8 @@ Documentation * Added gallery example on calculating cell temperature for floating PV. (:pull:`2110`) +* Removed unused "times" input from dni_et() function (:issue:`2105`) + Requirements ~~~~~~~~~~~~ @@ -51,3 +53,4 @@ Contributors * Leonardo Micheli (:ghuser:`lmicheli`) * Echedey Luis (:ghuser:`echedey-ls`) * Rajiv Daxini (:ghuser:`RDaxini`) +* Jose Meza (:ghuser:`JoseMezaMendieta`)